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

Unified Diff: src/heap.cc

Issue 194793002: [v8-dev] ARM: safepoints frame optimization (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« src/arm/assembler-arm.h ('K') | « src/frames.cc ('k') | src/lithium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index d54a2d6b524c9aeefd0182be609b2e4b62373b02..35ccedd9ea771db9f1fb86c658178241c646b272 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -4090,6 +4090,10 @@ MaybeObject* Heap::CreateCode(const CodeDesc& desc,
code->set_marked_for_deoptimization(false);
}
code->set_constant_pool(empty_constant_pool_array());
+#if V8_TARGET_ARCH_ARM
+ code->set_registers_mask(desc.registers_mask);
+ code->set_double_registers_mask(desc.double_registers_mask);
+#endif
#ifdef ENABLE_DEBUGGER_SUPPORT
if (code->kind() == Code::FUNCTION) {
« src/arm/assembler-arm.h ('K') | « src/frames.cc ('k') | src/lithium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698