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

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

Issue 2432903002: Revert "Add DoubleTestOp instruction" (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/il_printer.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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/flow_graph_type_propagator.h" 5 #include "vm/flow_graph_type_propagator.h"
6 6
7 #include "vm/cha.h" 7 #include "vm/cha.h"
8 #include "vm/bit_vector.h" 8 #include "vm/bit_vector.h"
9 #include "vm/il_printer.h" 9 #include "vm/il_printer.h"
10 #include "vm/regexp_assembler.h" 10 #include "vm/regexp_assembler.h"
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1145 CompileType DoubleToIntegerInstr::ComputeType() const { 1145 CompileType DoubleToIntegerInstr::ComputeType() const {
1146 return CompileType::Int(); 1146 return CompileType::Int();
1147 } 1147 }
1148 1148
1149 1149
1150 CompileType BinaryDoubleOpInstr::ComputeType() const { 1150 CompileType BinaryDoubleOpInstr::ComputeType() const {
1151 return CompileType::FromCid(kDoubleCid); 1151 return CompileType::FromCid(kDoubleCid);
1152 } 1152 }
1153 1153
1154 1154
1155 CompileType DoubleTestOpInstr::ComputeType() const {
1156 return CompileType::FromCid(kBoolCid);
1157 }
1158
1159
1160 CompileType BinaryFloat32x4OpInstr::ComputeType() const { 1155 CompileType BinaryFloat32x4OpInstr::ComputeType() const {
1161 return CompileType::FromCid(kFloat32x4Cid); 1156 return CompileType::FromCid(kFloat32x4Cid);
1162 } 1157 }
1163 1158
1164 1159
1165 CompileType Simd32x4ShuffleInstr::ComputeType() const { 1160 CompileType Simd32x4ShuffleInstr::ComputeType() const {
1166 if ((op_kind() == MethodRecognizer::kFloat32x4ShuffleX) || 1161 if ((op_kind() == MethodRecognizer::kFloat32x4ShuffleX) ||
1167 (op_kind() == MethodRecognizer::kFloat32x4ShuffleY) || 1162 (op_kind() == MethodRecognizer::kFloat32x4ShuffleY) ||
1168 (op_kind() == MethodRecognizer::kFloat32x4ShuffleZ) || 1163 (op_kind() == MethodRecognizer::kFloat32x4ShuffleZ) ||
1169 (op_kind() == MethodRecognizer::kFloat32x4ShuffleW)) { 1164 (op_kind() == MethodRecognizer::kFloat32x4ShuffleW)) {
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 CompileType MergedMathInstr::ComputeType() const { 1428 CompileType MergedMathInstr::ComputeType() const {
1434 return CompileType::Dynamic(); 1429 return CompileType::Dynamic();
1435 } 1430 }
1436 1431
1437 1432
1438 CompileType ExtractNthOutputInstr::ComputeType() const { 1433 CompileType ExtractNthOutputInstr::ComputeType() const {
1439 return CompileType::FromCid(definition_cid_); 1434 return CompileType::FromCid(definition_cid_);
1440 } 1435 }
1441 1436
1442 } // namespace dart 1437 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/il_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698