| 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_builder.h" | 9 #include "vm/flow_graph_builder.h" |
| 10 #include "vm/flow_graph_compiler.h" | 10 #include "vm/flow_graph_compiler.h" |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 | 164 |
| 165 void BranchInstr::SetInputAt(intptr_t i, Value* value) { | 165 void BranchInstr::SetInputAt(intptr_t i, Value* value) { |
| 166 if (i == 0) { | 166 if (i == 0) { |
| 167 value_ = value; | 167 value_ = value; |
| 168 return; | 168 return; |
| 169 } | 169 } |
| 170 UNREACHABLE(); | 170 UNREACHABLE(); |
| 171 } | 171 } |
| 172 | 172 |
| 173 | 173 |
| 174 intptr_t GotoInstr::InputCount() const { | |
| 175 return 0; | |
| 176 } | |
| 177 | |
| 178 | |
| 179 Value* GotoInstr::InputAt(intptr_t i) const { | |
| 180 UNREACHABLE(); | |
| 181 return NULL; | |
| 182 } | |
| 183 | |
| 184 | |
| 185 void GotoInstr::SetInputAt(intptr_t i, Value* value) { | |
| 186 UNREACHABLE(); | |
| 187 } | |
| 188 | |
| 189 | |
| 190 intptr_t ParallelMoveInstr::InputCount() const { | 174 intptr_t ParallelMoveInstr::InputCount() const { |
| 191 UNREACHABLE(); | 175 UNREACHABLE(); |
| 192 return 0; | 176 return 0; |
| 193 } | 177 } |
| 194 | 178 |
| 195 | 179 |
| 196 Value* ParallelMoveInstr::InputAt(intptr_t i) const { | 180 Value* ParallelMoveInstr::InputAt(intptr_t i) const { |
| 197 UNREACHABLE(); | 181 UNREACHABLE(); |
| 198 return NULL; | 182 return NULL; |
| 199 } | 183 } |
| (...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1324 const ExternalLabel label(closure_function.ToCString(), stub.EntryPoint()); | 1308 const ExternalLabel label(closure_function.ToCString(), stub.EntryPoint()); |
| 1325 compiler->GenerateCall(token_pos(), try_index(), &label, | 1309 compiler->GenerateCall(token_pos(), try_index(), &label, |
| 1326 PcDescriptors::kOther); | 1310 PcDescriptors::kOther); |
| 1327 __ Drop(2); // Discard type arguments and receiver. | 1311 __ Drop(2); // Discard type arguments and receiver. |
| 1328 } | 1312 } |
| 1329 | 1313 |
| 1330 | 1314 |
| 1331 #undef __ | 1315 #undef __ |
| 1332 | 1316 |
| 1333 } // namespace dart | 1317 } // namespace dart |
| OLD | NEW |