| 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 |
| 174 intptr_t ParallelMoveInstr::InputCount() const { | 190 intptr_t ParallelMoveInstr::InputCount() const { |
| 175 UNREACHABLE(); | 191 UNREACHABLE(); |
| 176 return 0; | 192 return 0; |
| 177 } | 193 } |
| 178 | 194 |
| 179 | 195 |
| 180 Value* ParallelMoveInstr::InputAt(intptr_t i) const { | 196 Value* ParallelMoveInstr::InputAt(intptr_t i) const { |
| 181 UNREACHABLE(); | 197 UNREACHABLE(); |
| 182 return NULL; | 198 return NULL; |
| 183 } | 199 } |
| (...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1308 const ExternalLabel label(closure_function.ToCString(), stub.EntryPoint()); | 1324 const ExternalLabel label(closure_function.ToCString(), stub.EntryPoint()); |
| 1309 compiler->GenerateCall(token_pos(), try_index(), &label, | 1325 compiler->GenerateCall(token_pos(), try_index(), &label, |
| 1310 PcDescriptors::kOther); | 1326 PcDescriptors::kOther); |
| 1311 __ Drop(2); // Discard type arguments and receiver. | 1327 __ Drop(2); // Discard type arguments and receiver. |
| 1312 } | 1328 } |
| 1313 | 1329 |
| 1314 | 1330 |
| 1315 #undef __ | 1331 #undef __ |
| 1316 | 1332 |
| 1317 } // namespace dart | 1333 } // namespace dart |
| OLD | NEW |