| OLD | NEW |
| 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/intermediate_language.h" | 5 #include "vm/intermediate_language.h" |
| 6 | 6 |
| 7 #include "vm/bigint_operations.h" | 7 #include "vm/bigint_operations.h" |
| 8 #include "vm/bit_vector.h" | 8 #include "vm/bit_vector.h" |
| 9 #include "vm/dart_entry.h" | 9 #include "vm/dart_entry.h" |
| 10 #include "vm/flow_graph_allocator.h" | 10 #include "vm/flow_graph_allocator.h" |
| (...skipping 1450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1461 LocationSummary* locs = | 1461 LocationSummary* locs = |
| 1462 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall); | 1462 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kCall); |
| 1463 return locs; | 1463 return locs; |
| 1464 } | 1464 } |
| 1465 | 1465 |
| 1466 | 1466 |
| 1467 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 1467 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 1468 ASSERT(!compiler->is_optimizing()); | 1468 ASSERT(!compiler->is_optimizing()); |
| 1469 const ExternalLabel label("debug_step_check", | 1469 const ExternalLabel label("debug_step_check", |
| 1470 StubCode::DebugStepCheckEntryPoint()); | 1470 StubCode::DebugStepCheckEntryPoint()); |
| 1471 compiler->GenerateCall(token_pos(), | 1471 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
| 1472 &label, | |
| 1473 PcDescriptors::kReturn, | |
| 1474 locs()); | |
| 1475 } | 1472 } |
| 1476 | 1473 |
| 1477 | 1474 |
| 1478 Instruction* DebugStepCheckInstr::Canonicalize(FlowGraph* flow_graph) { | 1475 Instruction* DebugStepCheckInstr::Canonicalize(FlowGraph* flow_graph) { |
| 1479 return NULL; | 1476 return NULL; |
| 1480 } | 1477 } |
| 1481 | 1478 |
| 1482 | 1479 |
| 1483 Definition* BoxDoubleInstr::Canonicalize(FlowGraph* flow_graph) { | 1480 Definition* BoxDoubleInstr::Canonicalize(FlowGraph* flow_graph) { |
| 1484 if (input_use_list() == NULL) { | 1481 if (input_use_list() == NULL) { |
| (...skipping 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3098 case Token::kTRUNCDIV: return 0; | 3095 case Token::kTRUNCDIV: return 0; |
| 3099 case Token::kMOD: return 1; | 3096 case Token::kMOD: return 1; |
| 3100 default: UNIMPLEMENTED(); return -1; | 3097 default: UNIMPLEMENTED(); return -1; |
| 3101 } | 3098 } |
| 3102 } | 3099 } |
| 3103 | 3100 |
| 3104 | 3101 |
| 3105 #undef __ | 3102 #undef __ |
| 3106 | 3103 |
| 3107 } // namespace dart | 3104 } // namespace dart |
| OLD | NEW |