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

Unified Diff: runtime/vm/intrinsifier_ia32.cc

Issue 8866010: Fix for intrinsified Math.sqrt method, added test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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
« no previous file with comments | « no previous file | tests/language/src/IntrinsifiedMethodsTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intrinsifier_ia32.cc
===================================================================
--- runtime/vm/intrinsifier_ia32.cc (revision 2209)
+++ runtime/vm/intrinsifier_ia32.cc (working copy)
@@ -696,6 +696,7 @@
}
const Class& double_class = Class::ZoneHandle(
Isolate::Current()->object_store()->double_class());
+ __ LoadObject(EBX, double_class);
AssemblerMacros::TryAllocate(assembler,
double_class,
EBX, // Class register.
@@ -789,6 +790,7 @@
__ sqrtsd(XMM0, XMM1);
const Class& double_class = Class::ZoneHandle(
Isolate::Current()->object_store()->double_class());
+ __ LoadObject(EBX, double_class);
AssemblerMacros::TryAllocate(assembler,
double_class,
EBX, // Class register.
« no previous file with comments | « no previous file | tests/language/src/IntrinsifiedMethodsTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698