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

Side by Side Diff: src/hydrogen.h

Issue 10103035: Share optimized code for closures. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: added x64 and ARM ports Created 8 years, 7 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
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 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 bool smi_and_map_check); 1130 bool smi_and_map_check);
1131 HInstruction* BuildStoreNamedGeneric(HValue* object, 1131 HInstruction* BuildStoreNamedGeneric(HValue* object,
1132 Handle<String> name, 1132 Handle<String> name,
1133 HValue* value); 1133 HValue* value);
1134 HInstruction* BuildStoreKeyedGeneric(HValue* object, 1134 HInstruction* BuildStoreKeyedGeneric(HValue* object,
1135 HValue* key, 1135 HValue* key,
1136 HValue* value); 1136 HValue* value);
1137 1137
1138 HValue* BuildContextChainWalk(Variable* var); 1138 HValue* BuildContextChainWalk(Variable* var);
1139 1139
1140 HInstruction* BuildThisFunction();
1141
1140 void AddCheckConstantFunction(Call* expr, 1142 void AddCheckConstantFunction(Call* expr,
1141 HValue* receiver, 1143 HValue* receiver,
1142 Handle<Map> receiver_map, 1144 Handle<Map> receiver_map,
1143 bool smi_and_map_check); 1145 bool smi_and_map_check);
1144 1146
1145 Zone* zone() { return zone_; } 1147 Zone* zone() { return zone_; }
1146 1148
1147 // The translation state of the currently-being-translated function. 1149 // The translation state of the currently-being-translated function.
1148 FunctionState* function_state_; 1150 FunctionState* function_state_;
1149 1151
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 const char* filename_; 1413 const char* filename_;
1412 HeapStringAllocator string_allocator_; 1414 HeapStringAllocator string_allocator_;
1413 StringStream trace_; 1415 StringStream trace_;
1414 int indent_; 1416 int indent_;
1415 }; 1417 };
1416 1418
1417 1419
1418 } } // namespace v8::internal 1420 } } // namespace v8::internal
1419 1421
1420 #endif // V8_HYDROGEN_H_ 1422 #endif // V8_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698