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

Side by Side Diff: runtime/vm/intermediate_language_ia32.cc

Issue 10440099: Adding unary op optimizations. missing assembly operations/ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "vm/flow_graph_compiler.h" 10 #include "vm/flow_graph_compiler.h"
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 __ pushl(left); 581 __ pushl(left);
582 __ pushl(right); 582 __ pushl(right);
583 InstanceCallComp* instance_call_comp = instance_call(); 583 InstanceCallComp* instance_call_comp = instance_call();
584 instance_call_comp->EmitNativeCode(compiler); 584 instance_call_comp->EmitNativeCode(compiler);
585 if (locs()->out().reg() != EAX) { 585 if (locs()->out().reg() != EAX) {
586 __ movl(locs()->out().reg(), EAX); 586 __ movl(locs()->out().reg(), EAX);
587 } 587 }
588 } 588 }
589 589
590 590
591 LocationSummary* UnarySmiOpComp::MakeLocationSummary() const {
592 return NULL;
593 }
594
595
596 void UnarySmiOpComp::EmitNativeCode(FlowGraphCompiler* compile) {
597 UNIMPLEMENTED();
598 }
599
600
601 LocationSummary* NumberNegateComp::MakeLocationSummary() const {
602 return NULL;
603 }
604
605
606 void NumberNegateComp::EmitNativeCode(FlowGraphCompiler* compile) {
607 UNIMPLEMENTED();
608 }
609
610
591 } // namespace dart 611 } // namespace dart
592 612
593 #undef __ 613 #undef __
594 614
595 #endif // defined TARGET_ARCH_X64 615 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698