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

Unified Diff: vm/opt_code_generator_ia32.cc

Issue 8921012: Allocate double temporaries in old space ... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years 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
« vm/ast.cc ('K') | « vm/object.cc ('k') | vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/opt_code_generator_ia32.cc
===================================================================
--- vm/opt_code_generator_ia32.cc (revision 2345)
+++ vm/opt_code_generator_ia32.cc (working copy)
@@ -960,7 +960,7 @@
result_register = kAllocatedRegister;
// Use inlined temporary double object.
const Double& double_object =
- Double::ZoneHandle(Double::New(0.0));
+ Double::ZoneHandle(Double::New(0.0, Heap::kOld));
__ LoadObject(result_register, double_object);
}
Label is_smi, extract_left;
« vm/ast.cc ('K') | « vm/object.cc ('k') | vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698