| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 bool FlowGraphCompiler::SupportsUnboxedSimd128() { | 47 bool FlowGraphCompiler::SupportsUnboxedSimd128() { |
| 48 return false; | 48 return false; |
| 49 } | 49 } |
| 50 | 50 |
| 51 | 51 |
| 52 bool FlowGraphCompiler::SupportsSinCos() { | 52 bool FlowGraphCompiler::SupportsSinCos() { |
| 53 return false; | 53 return false; |
| 54 } | 54 } |
| 55 | 55 |
| 56 | 56 |
| 57 intptr_t FlowGraphCompiler::PlatformBlockedRegisterMask() { |
| 58 COMPILE_ASSERT(TMP2 == kNoRegister); |
| 59 return 1 << CTX | 1 << SPREG | 1 << FPREG | 1 << TMP | 1 << PP; |
| 60 } |
| 61 |
| 62 |
| 57 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, | 63 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, |
| 58 DeoptInfoBuilder* builder, | 64 DeoptInfoBuilder* builder, |
| 59 const Array& deopt_table) { | 65 const Array& deopt_table) { |
| 60 if (deopt_env_ == NULL) { | 66 if (deopt_env_ == NULL) { |
| 61 return DeoptInfo::null(); | 67 return DeoptInfo::null(); |
| 62 } | 68 } |
| 63 | 69 |
| 64 intptr_t stack_height = compiler->StackSize(); | 70 intptr_t stack_height = compiler->StackSize(); |
| 65 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); | 71 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); |
| 66 | 72 |
| (...skipping 1718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1785 __ AddImmediate(SP, kDoubleSize); | 1791 __ AddImmediate(SP, kDoubleSize); |
| 1786 } | 1792 } |
| 1787 | 1793 |
| 1788 | 1794 |
| 1789 #undef __ | 1795 #undef __ |
| 1790 | 1796 |
| 1791 | 1797 |
| 1792 } // namespace dart | 1798 } // namespace dart |
| 1793 | 1799 |
| 1794 #endif // defined TARGET_ARCH_MIPS | 1800 #endif // defined TARGET_ARCH_MIPS |
| OLD | NEW |