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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 10938011: Delete code for the now unused IL instruction NumberNegate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/flow_graph_compiler_ia32.h ('k') | runtime/vm/flow_graph_compiler_x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_ia32.cc
===================================================================
--- runtime/vm/flow_graph_compiler_ia32.cc (revision 12438)
+++ runtime/vm/flow_graph_compiler_ia32.cc (working copy)
@@ -913,32 +913,6 @@
}
-void FlowGraphCompiler::GenerateInlinedMathSqrt(Label* done) {
- Label smi_to_double, double_op, call_method;
- __ movl(EAX, Address(ESP, 0));
- __ testl(EAX, Immediate(kSmiTagMask));
- __ j(ZERO, &smi_to_double);
- __ CompareClassId(EAX, kDoubleCid, EBX);
- __ j(NOT_EQUAL, &call_method);
- __ movsd(XMM1, FieldAddress(EAX, Double::value_offset()));
- __ Bind(&double_op);
- __ sqrtsd(XMM0, XMM1);
- AssemblerMacros::TryAllocate(assembler_,
- double_class_,
- &call_method,
- Assembler::kNearJump,
- EAX); // Result register.
- __ movsd(FieldAddress(EAX, Double::value_offset()), XMM0);
- __ Drop(1);
- __ jmp(done);
- __ Bind(&smi_to_double);
- __ SmiUntag(EAX);
- __ cvtsi2sd(XMM1, EAX);
- __ jmp(&double_op);
- __ Bind(&call_method);
-}
-
-
void FlowGraphCompiler::CompileGraph() {
InitCompiler();
if (TryIntrinsify()) {
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.h ('k') | runtime/vm/flow_graph_compiler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698