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

Side by Side Diff: src/hydrogen.h

Issue 26539010: Revert "AllocationSites for all literals" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/flag-definitions.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 2230 matching lines...) Expand 10 before | Expand all | Expand 10 after
2241 HValue* value, 2241 HValue* value,
2242 Handle<Map> map); 2242 Handle<Map> map);
2243 HInstruction* BuildStoreKeyedGeneric(HValue* object, 2243 HInstruction* BuildStoreKeyedGeneric(HValue* object,
2244 HValue* key, 2244 HValue* key,
2245 HValue* value); 2245 HValue* value);
2246 2246
2247 HValue* BuildContextChainWalk(Variable* var); 2247 HValue* BuildContextChainWalk(Variable* var);
2248 2248
2249 HInstruction* BuildThisFunction(); 2249 HInstruction* BuildThisFunction();
2250 2250
2251 HInstruction* BuildFastLiteral(Handle<JSObject> boilerplate_object, 2251 HInstruction* BuildFastLiteral(Handle<JSObject> boilerplate_object);
2252 AllocationSiteContext* site_context);
2253 2252
2254 void BuildEmitObjectHeader(Handle<JSObject> boilerplate_object, 2253 void BuildEmitObjectHeader(Handle<JSObject> boilerplate_object,
2255 HInstruction* object); 2254 HInstruction* object);
2256 2255
2257 void BuildInitElementsInObjectHeader(Handle<JSObject> boilerplate_object, 2256 void BuildInitElementsInObjectHeader(Handle<JSObject> boilerplate_object,
2258 HInstruction* object, 2257 HInstruction* object,
2259 HInstruction* object_elements); 2258 HInstruction* object_elements);
2260 2259
2261 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object, 2260 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object,
2262 HInstruction* object, 2261 HInstruction* object);
2263 AllocationSiteContext* site_context);
2264 2262
2265 void BuildEmitElements(Handle<JSObject> boilerplate_object, 2263 void BuildEmitElements(Handle<JSObject> boilerplate_object,
2266 Handle<FixedArrayBase> elements, 2264 Handle<FixedArrayBase> elements,
2267 HValue* object_elements, 2265 HValue* object_elements);
2268 AllocationSiteContext* site_context);
2269 2266
2270 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements, 2267 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements,
2271 ElementsKind kind, 2268 ElementsKind kind,
2272 HValue* object_elements); 2269 HValue* object_elements);
2273 2270
2274 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, 2271 void BuildEmitFixedArray(Handle<FixedArrayBase> elements,
2275 ElementsKind kind, 2272 ElementsKind kind,
2276 HValue* object_elements, 2273 HValue* object_elements);
2277 AllocationSiteContext* site_context);
2278 2274
2279 void AddCheckPrototypeMaps(Handle<JSObject> holder, 2275 void AddCheckPrototypeMaps(Handle<JSObject> holder,
2280 Handle<Map> receiver_map); 2276 Handle<Map> receiver_map);
2281 2277
2282 void AddCheckConstantFunction(Handle<JSObject> holder, 2278 void AddCheckConstantFunction(Handle<JSObject> holder,
2283 HValue* receiver, 2279 HValue* receiver,
2284 Handle<Map> receiver_map); 2280 Handle<Map> receiver_map);
2285 2281
2286 // The translation state of the currently-being-translated function. 2282 // The translation state of the currently-being-translated function.
2287 FunctionState* function_state_; 2283 FunctionState* function_state_;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
2467 } 2463 }
2468 2464
2469 private: 2465 private:
2470 HGraphBuilder* builder_; 2466 HGraphBuilder* builder_;
2471 }; 2467 };
2472 2468
2473 2469
2474 } } // namespace v8::internal 2470 } } // namespace v8::internal
2475 2471
2476 #endif // V8_HYDROGEN_H_ 2472 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698