| 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 25 matching lines...) Expand all Loading... |
| 36 ASSERT(!block_info_[i]->jump_label()->IsLinked()); | 36 ASSERT(!block_info_[i]->jump_label()->IsLinked()); |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 | 39 |
| 40 | 40 |
| 41 bool FlowGraphCompiler::SupportsUnboxedMints() { | 41 bool FlowGraphCompiler::SupportsUnboxedMints() { |
| 42 return false; | 42 return false; |
| 43 } | 43 } |
| 44 | 44 |
| 45 | 45 |
| 46 // TODO(srdjan): Enable by calling C-functions. | |
| 47 bool FlowGraphCompiler::SupportsInlinedTrigonometrics() { | |
| 48 return false; | |
| 49 } | |
| 50 | |
| 51 | |
| 52 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, | 46 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, |
| 53 DeoptInfoBuilder* builder) { | 47 DeoptInfoBuilder* builder) { |
| 54 if (deopt_env_ == NULL) return DeoptInfo::null(); | 48 if (deopt_env_ == NULL) return DeoptInfo::null(); |
| 55 | 49 |
| 56 intptr_t stack_height = compiler->StackSize(); | 50 intptr_t stack_height = compiler->StackSize(); |
| 57 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); | 51 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); |
| 58 | 52 |
| 59 intptr_t slot_ix = 0; | 53 intptr_t slot_ix = 0; |
| 60 Environment* current = deopt_env_; | 54 Environment* current = deopt_env_; |
| 61 | 55 |
| (...skipping 1814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1876 DRegister dreg = EvenDRegisterOf(reg); | 1870 DRegister dreg = EvenDRegisterOf(reg); |
| 1877 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); | 1871 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); |
| 1878 } | 1872 } |
| 1879 | 1873 |
| 1880 | 1874 |
| 1881 #undef __ | 1875 #undef __ |
| 1882 | 1876 |
| 1883 } // namespace dart | 1877 } // namespace dart |
| 1884 | 1878 |
| 1885 #endif // defined TARGET_ARCH_ARM | 1879 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |