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

Side by Side Diff: src/hydrogen.h

Issue 27366003: AllocationSites for all literals (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Minor nit. 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);
2252 2253
2253 void BuildEmitObjectHeader(Handle<JSObject> boilerplate_object, 2254 void BuildEmitObjectHeader(Handle<JSObject> boilerplate_object,
2254 HInstruction* object); 2255 HInstruction* object);
2255 2256
2256 void BuildInitElementsInObjectHeader(Handle<JSObject> boilerplate_object, 2257 void BuildInitElementsInObjectHeader(Handle<JSObject> boilerplate_object,
2257 HInstruction* object, 2258 HInstruction* object,
2258 HInstruction* object_elements); 2259 HInstruction* object_elements);
2259 2260
2260 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object, 2261 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object,
2261 HInstruction* object); 2262 HInstruction* object,
2263 AllocationSiteContext* site_context);
2262 2264
2263 void BuildEmitElements(Handle<JSObject> boilerplate_object, 2265 void BuildEmitElements(Handle<JSObject> boilerplate_object,
2264 Handle<FixedArrayBase> elements, 2266 Handle<FixedArrayBase> elements,
2265 HValue* object_elements); 2267 HValue* object_elements,
2268 AllocationSiteContext* site_context);
2266 2269
2267 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements, 2270 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements,
2268 ElementsKind kind, 2271 ElementsKind kind,
2269 HValue* object_elements); 2272 HValue* object_elements);
2270 2273
2271 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, 2274 void BuildEmitFixedArray(Handle<FixedArrayBase> elements,
2272 ElementsKind kind, 2275 ElementsKind kind,
2273 HValue* object_elements); 2276 HValue* object_elements,
2277 AllocationSiteContext* site_context);
2274 2278
2275 void AddCheckPrototypeMaps(Handle<JSObject> holder, 2279 void AddCheckPrototypeMaps(Handle<JSObject> holder,
2276 Handle<Map> receiver_map); 2280 Handle<Map> receiver_map);
2277 2281
2278 void AddCheckConstantFunction(Handle<JSObject> holder, 2282 void AddCheckConstantFunction(Handle<JSObject> holder,
2279 HValue* receiver, 2283 HValue* receiver,
2280 Handle<Map> receiver_map); 2284 Handle<Map> receiver_map);
2281 2285
2282 // The translation state of the currently-being-translated function. 2286 // The translation state of the currently-being-translated function.
2283 FunctionState* function_state_; 2287 FunctionState* function_state_;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
2463 } 2467 }
2464 2468
2465 private: 2469 private:
2466 HGraphBuilder* builder_; 2470 HGraphBuilder* builder_;
2467 }; 2471 };
2468 2472
2469 2473
2470 } } // namespace v8::internal 2474 } } // namespace v8::internal
2471 2475
2472 #endif // V8_HYDROGEN_H_ 2476 #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