| OLD | NEW |
| 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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1147 return NULL; | 1147 return NULL; |
| 1148 } | 1148 } |
| 1149 | 1149 |
| 1150 | 1150 |
| 1151 void UseVal::EmitNativeCode(FlowGraphCompiler* compiler) { | 1151 void UseVal::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 1152 UNIMPLEMENTED(); | 1152 UNIMPLEMENTED(); |
| 1153 } | 1153 } |
| 1154 | 1154 |
| 1155 | 1155 |
| 1156 void AssertAssignableComp::EmitNativeCode(FlowGraphCompiler* compiler) { | 1156 void AssertAssignableComp::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 1157 if (!IsEliminated()) { | 1157 if (!is_eliminated()) { |
| 1158 compiler->GenerateAssertAssignable(deopt_id(), | 1158 compiler->GenerateAssertAssignable(deopt_id(), |
| 1159 token_pos(), | 1159 token_pos(), |
| 1160 try_index(), | 1160 try_index(), |
| 1161 dst_type(), | 1161 dst_type(), |
| 1162 dst_name()); | 1162 dst_name()); |
| 1163 } | 1163 } |
| 1164 ASSERT(locs()->in(0).reg() == locs()->out().reg()); | 1164 ASSERT(locs()->in(0).reg() == locs()->out().reg()); |
| 1165 } | 1165 } |
| 1166 | 1166 |
| 1167 | 1167 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1293 if (compiler->is_ssa()) { | 1293 if (compiler->is_ssa()) { |
| 1294 ASSERT(locs()->in(0).IsRegister()); | 1294 ASSERT(locs()->in(0).IsRegister()); |
| 1295 __ PushRegister(locs()->in(0).reg()); | 1295 __ PushRegister(locs()->in(0).reg()); |
| 1296 } | 1296 } |
| 1297 } | 1297 } |
| 1298 | 1298 |
| 1299 | 1299 |
| 1300 #undef __ | 1300 #undef __ |
| 1301 | 1301 |
| 1302 } // namespace dart | 1302 } // namespace dart |
| OLD | NEW |