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

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

Issue 11817017: Additional work to get array literal allocation tracking working, even with --always-opt (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Quick adjustment to bit fields Created 7 years, 11 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/ic-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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 Register result, 335 Register result,
336 Register source, 336 Register source,
337 int* offset); 337 int* offset,
338 AllocationSiteMode mode);
338 339
339 struct JumpTableEntry { 340 struct JumpTableEntry {
340 inline JumpTableEntry(Address entry, bool frame, bool is_lazy) 341 inline JumpTableEntry(Address entry, bool frame, bool is_lazy)
341 : label(), 342 : label(),
342 address(entry), 343 address(entry),
343 needs_frame(frame), 344 needs_frame(frame),
344 is_lazy_deopt(is_lazy) { } 345 is_lazy_deopt(is_lazy) { }
345 Label label; 346 Label label;
346 Address address; 347 Address address;
347 bool needs_frame; 348 bool needs_frame;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 LCodeGen* codegen_; 439 LCodeGen* codegen_;
439 Label entry_; 440 Label entry_;
440 Label exit_; 441 Label exit_;
441 Label* external_exit_; 442 Label* external_exit_;
442 int instruction_index_; 443 int instruction_index_;
443 }; 444 };
444 445
445 } } // namespace v8::internal 446 } } // namespace v8::internal
446 447
447 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 448 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/x64/ic-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698