Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: runtime/vm/stub_code_dbc.cc

Issue 2506503002: Revert "Revert "JumpToFrame refactor"" + Fix (Closed)
Patch Set: new client Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/stub_code_arm64.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 23 matching lines...) Expand all
34 } 34 }
35 35
36 36
37 // Not executed, but used as a stack marker when calling 37 // Not executed, but used as a stack marker when calling
38 // DRT_OptimizeInvokedFunction. 38 // DRT_OptimizeInvokedFunction.
39 void StubCode::GenerateOptimizeFunctionStub(Assembler* assembler) { 39 void StubCode::GenerateOptimizeFunctionStub(Assembler* assembler) {
40 __ Trap(); 40 __ Trap();
41 } 41 }
42 42
43 43
44 // Not executed, but used as a sentinel in Simulator::JumpToFrame.
45 void StubCode::GenerateRunExceptionHandlerStub(Assembler* assembler) {
46 __ Trap();
47 }
48
49
44 // TODO(vegorov) Don't generate this stub. 50 // TODO(vegorov) Don't generate this stub.
45 void StubCode::GenerateFixCallersTargetStub(Assembler* assembler) { 51 void StubCode::GenerateFixCallersTargetStub(Assembler* assembler) {
46 __ Trap(); 52 __ Trap();
47 } 53 }
48 54
49 55
50 // TODO(vegorov) Don't generate these stubs. 56 // TODO(vegorov) Don't generate these stubs.
51 void StubCode::GenerateAllocationStubForClass(Assembler* assembler, 57 void StubCode::GenerateAllocationStubForClass(Assembler* assembler,
52 const Class& cls) { 58 const Class& cls) {
53 __ Trap(); 59 __ Trap();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 91
86 // Print the stop message. 92 // Print the stop message.
87 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) { 93 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) {
88 OS::Print("Stop message: %s\n", message); 94 OS::Print("Stop message: %s\n", message);
89 } 95 }
90 END_LEAF_RUNTIME_ENTRY 96 END_LEAF_RUNTIME_ENTRY
91 97
92 } // namespace dart 98 } // namespace dart
93 99
94 #endif // defined TARGET_ARCH_DBC 100 #endif // defined TARGET_ARCH_DBC
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_arm64.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698