Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: src/hydrogen.h

Issue 10702109: Slightly generalize AddCheckConstantFunction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ast.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1158 Handle<String> name, 1158 Handle<String> name,
1159 HValue* value); 1159 HValue* value);
1160 HInstruction* BuildStoreKeyedGeneric(HValue* object, 1160 HInstruction* BuildStoreKeyedGeneric(HValue* object,
1161 HValue* key, 1161 HValue* key,
1162 HValue* value); 1162 HValue* value);
1163 1163
1164 HValue* BuildContextChainWalk(Variable* var); 1164 HValue* BuildContextChainWalk(Variable* var);
1165 1165
1166 HInstruction* BuildThisFunction(); 1166 HInstruction* BuildThisFunction();
1167 1167
1168 void AddCheckConstantFunction(Call* expr, 1168 void AddCheckConstantFunction(Handle<JSObject> holder,
1169 HValue* receiver, 1169 HValue* receiver,
1170 Handle<Map> receiver_map, 1170 Handle<Map> receiver_map,
1171 bool smi_and_map_check); 1171 bool smi_and_map_check);
1172 1172
1173 Zone* zone() const { return zone_; } 1173 Zone* zone() const { return zone_; }
1174 1174
1175 // The translation state of the currently-being-translated function. 1175 // The translation state of the currently-being-translated function.
1176 FunctionState* function_state_; 1176 FunctionState* function_state_;
1177 1177
1178 // The base of the function state stack. 1178 // The base of the function state stack.
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 const char* filename_; 1440 const char* filename_;
1441 HeapStringAllocator string_allocator_; 1441 HeapStringAllocator string_allocator_;
1442 StringStream trace_; 1442 StringStream trace_;
1443 int indent_; 1443 int indent_;
1444 }; 1444 };
1445 1445
1446 1446
1447 } } // namespace v8::internal 1447 } } // namespace v8::internal
1448 1448
1449 #endif // V8_HYDROGEN_H_ 1449 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698