| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_ARCH_DBC) | 6 #if defined(TARGET_ARCH_DBC) |
| 7 | 7 |
| 8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
| 9 #include "vm/code_generator.h" | 9 #include "vm/code_generator.h" |
| 10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 __ Trap(); | 40 __ Trap(); |
| 41 } | 41 } |
| 42 | 42 |
| 43 | 43 |
| 44 // Not executed, but used as a sentinel in Simulator::JumpToFrame. | 44 // Not executed, but used as a sentinel in Simulator::JumpToFrame. |
| 45 void StubCode::GenerateRunExceptionHandlerStub(Assembler* assembler) { | 45 void StubCode::GenerateRunExceptionHandlerStub(Assembler* assembler) { |
| 46 __ Trap(); | 46 __ Trap(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 | 49 |
| 50 // Not executed, but used as a sentinel in Simulator::JumpToFrame. | |
| 51 void StubCode::GenerateDeoptForRewindStub(Assembler* assembler) { | |
| 52 __ Trap(); | |
| 53 } | |
| 54 | |
| 55 | |
| 56 // TODO(vegorov) Don't generate this stub. | 50 // TODO(vegorov) Don't generate this stub. |
| 57 void StubCode::GenerateFixCallersTargetStub(Assembler* assembler) { | 51 void StubCode::GenerateFixCallersTargetStub(Assembler* assembler) { |
| 58 __ Trap(); | 52 __ Trap(); |
| 59 } | 53 } |
| 60 | 54 |
| 61 | 55 |
| 62 // TODO(vegorov) Don't generate these stubs. | 56 // TODO(vegorov) Don't generate these stubs. |
| 63 void StubCode::GenerateAllocationStubForClass(Assembler* assembler, | 57 void StubCode::GenerateAllocationStubForClass(Assembler* assembler, |
| 64 const Class& cls) { | 58 const Class& cls) { |
| 65 __ Trap(); | 59 __ Trap(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 91 |
| 98 // Print the stop message. | 92 // Print the stop message. |
| 99 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) { | 93 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) { |
| 100 OS::Print("Stop message: %s\n", message); | 94 OS::Print("Stop message: %s\n", message); |
| 101 } | 95 } |
| 102 END_LEAF_RUNTIME_ENTRY | 96 END_LEAF_RUNTIME_ENTRY |
| 103 | 97 |
| 104 } // namespace dart | 98 } // namespace dart |
| 105 | 99 |
| 106 #endif // defined TARGET_ARCH_DBC | 100 #endif // defined TARGET_ARCH_DBC |
| OLD | NEW |