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

Side by Side Diff: runtime/vm/intermediate_language.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.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/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/flow_graph_allocator.h" 9 #include "vm/flow_graph_allocator.h"
10 #include "vm/flow_graph_builder.h" 10 #include "vm/flow_graph_builder.h"
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 RawAbstractType* BoxDoubleInstr::CompileType() const { 1116 RawAbstractType* BoxDoubleInstr::CompileType() const {
1117 return Type::Double(); 1117 return Type::Double();
1118 } 1118 }
1119 1119
1120 1120
1121 RawAbstractType* UnarySmiOpInstr::CompileType() const { 1121 RawAbstractType* UnarySmiOpInstr::CompileType() const {
1122 return Type::SmiType(); 1122 return Type::SmiType();
1123 } 1123 }
1124 1124
1125 1125
1126 RawAbstractType* NumberNegateInstr::CompileType() const {
1127 // Implemented only for doubles.
1128 return Type::Double();
1129 }
1130
1131
1132 RawAbstractType* DoubleToDoubleInstr::CompileType() const { 1126 RawAbstractType* DoubleToDoubleInstr::CompileType() const {
1133 return Type::Double(); 1127 return Type::Double();
1134 } 1128 }
1135 1129
1136 1130
1137 RawAbstractType* SmiToDoubleInstr::CompileType() const { 1131 RawAbstractType* SmiToDoubleInstr::CompileType() const {
1138 return Type::Double(); 1132 return Type::Double();
1139 } 1133 }
1140 1134
1141 1135
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 value->set_use_index(use_index++); 1686 value->set_use_index(use_index++);
1693 value->AddToEnvUseList(); 1687 value->AddToEnvUseList();
1694 } 1688 }
1695 instr->set_env(copy); 1689 instr->set_env(copy);
1696 } 1690 }
1697 1691
1698 1692
1699 #undef __ 1693 #undef __
1700 1694
1701 } // namespace dart 1695 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698