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

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: Created 8 years, 6 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/heap.cc ('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 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 bool smi_and_map_check); 1149 bool smi_and_map_check);
1150 HInstruction* BuildStoreNamedGeneric(HValue* object, 1150 HInstruction* BuildStoreNamedGeneric(HValue* object,
1151 Handle<String> name, 1151 Handle<String> name,
1152 HValue* value); 1152 HValue* value);
1153 HInstruction* BuildStoreKeyedGeneric(HValue* object, 1153 HInstruction* BuildStoreKeyedGeneric(HValue* object,
1154 HValue* key, 1154 HValue* key,
1155 HValue* value); 1155 HValue* value);
1156 1156
1157 HValue* BuildContextChainWalk(Variable* var); 1157 HValue* BuildContextChainWalk(Variable* var);
1158 1158
1159 HInstruction* BuildThisFunction();
1160
1159 void AddCheckConstantFunction(Call* expr, 1161 void AddCheckConstantFunction(Call* expr,
1160 HValue* receiver, 1162 HValue* receiver,
1161 Handle<Map> receiver_map, 1163 Handle<Map> receiver_map,
1162 bool smi_and_map_check); 1164 bool smi_and_map_check);
1163 1165
1164 Zone* zone() const { return zone_; } 1166 Zone* zone() const { return zone_; }
1165 1167
1166 // The translation state of the currently-being-translated function. 1168 // The translation state of the currently-being-translated function.
1167 FunctionState* function_state_; 1169 FunctionState* function_state_;
1168 1170
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 const char* filename_; 1433 const char* filename_;
1432 HeapStringAllocator string_allocator_; 1434 HeapStringAllocator string_allocator_;
1433 StringStream trace_; 1435 StringStream trace_;
1434 int indent_; 1436 int indent_;
1435 }; 1437 };
1436 1438
1437 1439
1438 } } // namespace v8::internal 1440 } } // namespace v8::internal
1439 1441
1440 #endif // V8_HYDROGEN_H_ 1442 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698