Chromium Code Reviews| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 177 #define __ assem-> | 177 #define __ assem-> |
| 178 __ Comment("%s", Name()); | 178 __ Comment("%s", Name()); |
| 179 __ Bind(entry_label()); | 179 __ Bind(entry_label()); |
| 180 if (FLAG_trap_on_deoptimization) { | 180 if (FLAG_trap_on_deoptimization) { |
| 181 __ bkpt(0); | 181 __ bkpt(0); |
| 182 } | 182 } |
| 183 | 183 |
| 184 ASSERT(deopt_env() != NULL); | 184 ASSERT(deopt_env() != NULL); |
| 185 | 185 |
| 186 StubCode* stub_code = compiler->isolate()->stub_code(); | 186 StubCode* stub_code = compiler->isolate()->stub_code(); |
| 187 __ mov(IP, Operand(LR)); | |
|
srdjan
2014/09/24 22:36:02
Please add comment why this is necessary. Make sur
zra
2014/09/25 18:11:27
Done.
| |
| 187 __ BranchLink(&stub_code->DeoptimizeLabel()); | 188 __ BranchLink(&stub_code->DeoptimizeLabel()); |
| 188 set_pc_offset(assem->CodeSize()); | 189 set_pc_offset(assem->CodeSize()); |
| 189 #undef __ | 190 #undef __ |
| 190 } | 191 } |
| 191 | 192 |
| 192 | 193 |
| 193 #define __ assembler()-> | 194 #define __ assembler()-> |
| 194 | 195 |
| 195 | 196 |
| 196 // Fall through if bool_register contains null. | 197 // Fall through if bool_register contains null. |
| (...skipping 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1802 DRegister dreg = EvenDRegisterOf(reg); | 1803 DRegister dreg = EvenDRegisterOf(reg); |
| 1803 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); | 1804 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); |
| 1804 } | 1805 } |
| 1805 | 1806 |
| 1806 | 1807 |
| 1807 #undef __ | 1808 #undef __ |
| 1808 | 1809 |
| 1809 } // namespace dart | 1810 } // namespace dart |
| 1810 | 1811 |
| 1811 #endif // defined TARGET_ARCH_ARM | 1812 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |