| 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/globals.h" // Needed here to get TARGET_ARCH_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 7 | 7 |
| 8 #include "vm/flow_graph_compiler.h" | 8 #include "vm/flow_graph_compiler.h" |
| 9 | 9 |
| 10 #include "vm/ast_printer.h" | 10 #include "vm/ast_printer.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 ASSERT(intrinsic_mode()); | 69 ASSERT(intrinsic_mode()); |
| 70 intrinsic_mode_ = false; | 70 intrinsic_mode_ = false; |
| 71 assembler()->set_allow_constant_pool(true); | 71 assembler()->set_allow_constant_pool(true); |
| 72 } | 72 } |
| 73 | 73 |
| 74 | 74 |
| 75 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, | 75 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, |
| 76 DeoptInfoBuilder* builder, | 76 DeoptInfoBuilder* builder, |
| 77 const Array& deopt_table) { | 77 const Array& deopt_table) { |
| 78 if (deopt_env_ == NULL) { | 78 if (deopt_env_ == NULL) { |
| 79 ++builder->current_info_number_; |
| 79 return DeoptInfo::null(); | 80 return DeoptInfo::null(); |
| 80 } | 81 } |
| 81 | 82 |
| 82 intptr_t stack_height = compiler->StackSize(); | 83 intptr_t stack_height = compiler->StackSize(); |
| 83 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); | 84 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); |
| 84 | 85 |
| 85 intptr_t slot_ix = 0; | 86 intptr_t slot_ix = 0; |
| 86 Environment* current = deopt_env_; | 87 Environment* current = deopt_env_; |
| 87 | 88 |
| 88 // Emit all kMaterializeObject instructions describing objects to be | 89 // Emit all kMaterializeObject instructions describing objects to be |
| (...skipping 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1831 DRegister dreg = EvenDRegisterOf(reg); | 1832 DRegister dreg = EvenDRegisterOf(reg); |
| 1832 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); | 1833 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); |
| 1833 } | 1834 } |
| 1834 | 1835 |
| 1835 | 1836 |
| 1836 #undef __ | 1837 #undef __ |
| 1837 | 1838 |
| 1838 } // namespace dart | 1839 } // namespace dart |
| 1839 | 1840 |
| 1840 #endif // defined TARGET_ARCH_ARM | 1841 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |