| 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 1808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1819 UNREACHABLE(); | 1819 UNREACHABLE(); |
| 1820 return NULL; | 1820 return NULL; |
| 1821 } | 1821 } |
| 1822 | 1822 |
| 1823 | 1823 |
| 1824 void JoinEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 1824 void JoinEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 1825 __ Bind(compiler->GetJumpLabel(this)); | 1825 __ Bind(compiler->GetJumpLabel(this)); |
| 1826 if (!compiler->is_optimizing()) { | 1826 if (!compiler->is_optimizing()) { |
| 1827 compiler->AddCurrentDescriptor(PcDescriptors::kDeopt, | 1827 compiler->AddCurrentDescriptor(PcDescriptors::kDeopt, |
| 1828 deopt_id_, | 1828 deopt_id_, |
| 1829 Scanner::kDummyTokenIndex); | 1829 Scanner::kNoSourcePos); |
| 1830 } | 1830 } |
| 1831 if (HasParallelMove()) { | 1831 if (HasParallelMove()) { |
| 1832 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); | 1832 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); |
| 1833 } | 1833 } |
| 1834 } | 1834 } |
| 1835 | 1835 |
| 1836 | 1836 |
| 1837 LocationSummary* TargetEntryInstr::MakeLocationSummary(bool optimizing) const { | 1837 LocationSummary* TargetEntryInstr::MakeLocationSummary(bool optimizing) const { |
| 1838 // FlowGraphCompiler::EmitInstructionPrologue is not called for block | 1838 // FlowGraphCompiler::EmitInstructionPrologue is not called for block |
| 1839 // entry instructions, so this function is unused. If it becomes | 1839 // entry instructions, so this function is unused. If it becomes |
| (...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3100 case Token::kTRUNCDIV: return 0; | 3100 case Token::kTRUNCDIV: return 0; |
| 3101 case Token::kMOD: return 1; | 3101 case Token::kMOD: return 1; |
| 3102 default: UNIMPLEMENTED(); return -1; | 3102 default: UNIMPLEMENTED(); return -1; |
| 3103 } | 3103 } |
| 3104 } | 3104 } |
| 3105 | 3105 |
| 3106 | 3106 |
| 3107 #undef __ | 3107 #undef __ |
| 3108 | 3108 |
| 3109 } // namespace dart | 3109 } // namespace dart |
| OLD | NEW |