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

Unified Diff: runtime/vm/assembler_x64.cc

Issue 2119633002: Remove support for pretenuring as it is not fully implemented and is currently turned on for a very… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address self review changes. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/code_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_x64.cc
diff --git a/runtime/vm/assembler_x64.cc b/runtime/vm/assembler_x64.cc
index 67bc2379a7632291525a9f6c6f83d9d19b2a18f4..f7203162726adca15f91a6ba09e7e842f8565c8d 100644
--- a/runtime/vm/assembler_x64.cc
+++ b/runtime/vm/assembler_x64.cc
@@ -3523,7 +3523,7 @@ void Assembler::TryAllocate(const Class& cls,
// allocation call site.
MaybeTraceAllocation(cls.id(), failure, near_jump);
const intptr_t instance_size = cls.instance_size();
- Heap::Space space = Heap::SpaceForAllocation(cls.id());
+ Heap::Space space = Heap::kNew;
movq(temp, Address(THR, Thread::heap_offset()));
movq(instance_reg, Address(temp, Heap::TopOffset(space)));
addq(instance_reg, Immediate(instance_size));
@@ -3561,7 +3561,7 @@ void Assembler::TryAllocateArray(intptr_t cid,
// (i.e. the allocation stub) which will allocate the object and trace the
// allocation call site.
MaybeTraceAllocation(cid, failure, near_jump);
- Heap::Space space = Heap::SpaceForAllocation(cid);
+ Heap::Space space = Heap::kNew;
movq(temp, Address(THR, Thread::heap_offset()));
movq(instance, Address(temp, Heap::TopOffset(space)));
movq(end_address, instance);
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698