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