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

Side by Side Diff: src/hydrogen.h

Issue 24250005: AllocationSites for all literals (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. 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 2241 matching lines...) Expand 10 before | Expand all | Expand 10 after
2252 HValue* value, 2252 HValue* value,
2253 Handle<Map> map); 2253 Handle<Map> map);
2254 HInstruction* BuildStoreKeyedGeneric(HValue* object, 2254 HInstruction* BuildStoreKeyedGeneric(HValue* object,
2255 HValue* key, 2255 HValue* key,
2256 HValue* value); 2256 HValue* value);
2257 2257
2258 HValue* BuildContextChainWalk(Variable* var); 2258 HValue* BuildContextChainWalk(Variable* var);
2259 2259
2260 HInstruction* BuildThisFunction(); 2260 HInstruction* BuildThisFunction();
2261 2261
2262 HInstruction* BuildFastLiteral(Handle<JSObject> boilerplate_object); 2262 HInstruction* BuildFastLiteral(Handle<JSObject> boilerplate_object,
2263 AllocationSiteContext* site_context);
2263 2264
2264 void BuildEmitObjectHeader(Handle<JSObject> boilerplate_object, 2265 void BuildEmitObjectHeader(Handle<JSObject> boilerplate_object,
2265 HInstruction* object); 2266 HInstruction* object);
2266 2267
2267 void BuildInitElementsInObjectHeader(Handle<JSObject> boilerplate_object, 2268 void BuildInitElementsInObjectHeader(Handle<JSObject> boilerplate_object,
2268 HInstruction* object, 2269 HInstruction* object,
2269 HInstruction* object_elements); 2270 HInstruction* object_elements);
2270 2271
2271 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object, 2272 void BuildEmitInObjectProperties(Handle<JSObject> boilerplate_object,
2272 HInstruction* object); 2273 HInstruction* object,
2274 AllocationSiteContext* site_context);
2273 2275
2274 void BuildEmitElements(Handle<JSObject> boilerplate_object, 2276 void BuildEmitElements(Handle<JSObject> boilerplate_object,
2275 Handle<FixedArrayBase> elements, 2277 Handle<FixedArrayBase> elements,
2276 HValue* object_elements); 2278 HValue* object_elements,
2279 AllocationSiteContext* site_context);
2277 2280
2278 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements, 2281 void BuildEmitFixedDoubleArray(Handle<FixedArrayBase> elements,
2279 ElementsKind kind, 2282 ElementsKind kind,
2280 HValue* object_elements); 2283 HValue* object_elements);
2281 2284
2282 void BuildEmitFixedArray(Handle<FixedArrayBase> elements, 2285 void BuildEmitFixedArray(Handle<FixedArrayBase> elements,
2283 ElementsKind kind, 2286 ElementsKind kind,
2284 HValue* object_elements); 2287 HValue* object_elements,
2288 AllocationSiteContext* site_context);
2285 2289
2286 void AddCheckPrototypeMaps(Handle<JSObject> holder, 2290 void AddCheckPrototypeMaps(Handle<JSObject> holder,
2287 Handle<Map> receiver_map); 2291 Handle<Map> receiver_map);
2288 2292
2289 void AddCheckConstantFunction(Handle<JSObject> holder, 2293 void AddCheckConstantFunction(Handle<JSObject> holder,
2290 HValue* receiver, 2294 HValue* receiver,
2291 Handle<Map> receiver_map); 2295 Handle<Map> receiver_map);
2292 2296
2293 // The translation state of the currently-being-translated function. 2297 // The translation state of the currently-being-translated function.
2294 FunctionState* function_state_; 2298 FunctionState* function_state_;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
2474 } 2478 }
2475 2479
2476 private: 2480 private:
2477 HGraphBuilder* builder_; 2481 HGraphBuilder* builder_;
2478 }; 2482 };
2479 2483
2480 2484
2481 } } // namespace v8::internal 2485 } } // namespace v8::internal
2482 2486
2483 #endif // V8_HYDROGEN_H_ 2487 #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