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

Side by Side Diff: src/x64/lithium-codegen-x64.h

Issue 12114054: Supporting AllocationSiteInfo for Nested arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing a port compile failure Created 7 years, 9 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/x64/full-codegen-x64.cc ('k') | src/x64/lithium-codegen-x64.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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 Handle<String> name, 325 Handle<String> name,
326 LEnvironment* env); 326 LEnvironment* env);
327 327
328 // Emits code for pushing either a tagged constant, a (non-double) 328 // Emits code for pushing either a tagged constant, a (non-double)
329 // register, or a stack slot operand. 329 // register, or a stack slot operand.
330 void EmitPushTaggedOperand(LOperand* operand); 330 void EmitPushTaggedOperand(LOperand* operand);
331 331
332 // Emits optimized code to deep-copy the contents of statically known 332 // Emits optimized code to deep-copy the contents of statically known
333 // object graphs (e.g. object literal boilerplate). 333 // object graphs (e.g. object literal boilerplate).
334 void EmitDeepCopy(Handle<JSObject> object, 334 void EmitDeepCopy(Handle<JSObject> object,
335 Handle<JSObject> original_object,
335 Register result, 336 Register result,
336 Register source, 337 Register source,
337 int* offset, 338 int* offset,
338 AllocationSiteMode mode); 339 AllocationSiteMode mode);
339 340
341 void FastLiteralHelper(LFastLiteral* instr,
342 AllocationSiteMode mode);
343
340 struct JumpTableEntry { 344 struct JumpTableEntry {
341 inline JumpTableEntry(Address entry, bool frame, bool is_lazy) 345 inline JumpTableEntry(Address entry, bool frame, bool is_lazy)
342 : label(), 346 : label(),
343 address(entry), 347 address(entry),
344 needs_frame(frame), 348 needs_frame(frame),
345 is_lazy_deopt(is_lazy) { } 349 is_lazy_deopt(is_lazy) { }
346 Label label; 350 Label label;
347 Address address; 351 Address address;
348 bool needs_frame; 352 bool needs_frame;
349 bool is_lazy_deopt; 353 bool is_lazy_deopt;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 LCodeGen* codegen_; 444 LCodeGen* codegen_;
441 Label entry_; 445 Label entry_;
442 Label exit_; 446 Label exit_;
443 Label* external_exit_; 447 Label* external_exit_;
444 int instruction_index_; 448 int instruction_index_;
445 }; 449 };
446 450
447 } } // namespace v8::internal 451 } } // namespace v8::internal
448 452
449 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 453 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698