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 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1585 compiler->AddCurrentDescriptor(PcDescriptors::kDeopt, | 1585 compiler->AddCurrentDescriptor(PcDescriptors::kDeopt, |
1586 deopt_id_, | 1586 deopt_id_, |
1587 Scanner::kDummyTokenIndex); | 1587 Scanner::kDummyTokenIndex); |
1588 } | 1588 } |
1589 if (HasParallelMove()) { | 1589 if (HasParallelMove()) { |
1590 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); | 1590 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); |
1591 } | 1591 } |
1592 } | 1592 } |
1593 | 1593 |
1594 | 1594 |
1595 LocationSummary* CatchBlockEntryInstr::MakeLocationSummary() const { | |
1596 UNREACHABLE(); | |
1597 return NULL; | |
1598 } | |
1599 | |
1600 | |
1601 void CatchBlockEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | |
1602 __ Bind(compiler->GetJumpLabel(this)); | |
1603 compiler->AddExceptionHandler(catch_try_index(), | |
1604 try_index(), | |
1605 compiler->assembler()->CodeSize(), | |
1606 catch_handler_types_); | |
1607 if (HasParallelMove()) { | |
1608 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); | |
1609 } | |
1610 } | |
1611 | |
1612 | |
1613 LocationSummary* PhiInstr::MakeLocationSummary() const { | 1595 LocationSummary* PhiInstr::MakeLocationSummary() const { |
1614 UNREACHABLE(); | 1596 UNREACHABLE(); |
1615 return NULL; | 1597 return NULL; |
1616 } | 1598 } |
1617 | 1599 |
1618 | 1600 |
1619 void PhiInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 1601 void PhiInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
1620 UNREACHABLE(); | 1602 UNREACHABLE(); |
1621 } | 1603 } |
1622 | 1604 |
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2608 default: | 2590 default: |
2609 UNREACHABLE(); | 2591 UNREACHABLE(); |
2610 } | 2592 } |
2611 return kPowRuntimeEntry; | 2593 return kPowRuntimeEntry; |
2612 } | 2594 } |
2613 | 2595 |
2614 | 2596 |
2615 #undef __ | 2597 #undef __ |
2616 | 2598 |
2617 } // namespace dart | 2599 } // namespace dart |
OLD | NEW |