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

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

Issue 1992963002: Enable optimizer pipeline for DBC. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months 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.h ('k') | no next file » | 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 __ Trap(); 44 __ Trap();
45 } 45 }
46 46
47 47
48 // TODO(vegorov) Don't generate this stub. 48 // TODO(vegorov) Don't generate this stub.
49 void StubCode::GenerateMegamorphicMissStub(Assembler* assembler) { 49 void StubCode::GenerateMegamorphicMissStub(Assembler* assembler) {
50 __ Trap(); 50 __ Trap();
51 } 51 }
52 52
53 53
54 // These deoptimization stubs are only used to populate stack frames
55 // with something meaningful to make sure GC can scan the stack during
56 // the last phase of deoptimization which materializes objects.
57 void StubCode::GenerateDeoptimizeLazyStub(Assembler* assembler) {
58 __ Trap();
59 }
60
61
62 void StubCode::GenerateDeoptimizeStub(Assembler* assembler) {
63 __ Trap();
64 }
65
66
54 // Print the stop message. 67 // Print the stop message.
55 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) { 68 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) {
56 OS::Print("Stop message: %s\n", message); 69 OS::Print("Stop message: %s\n", message);
57 } 70 }
58 END_LEAF_RUNTIME_ENTRY 71 END_LEAF_RUNTIME_ENTRY
59 72
60 73
61 } // namespace dart 74 } // namespace dart
62 75
63 #endif // defined TARGET_ARCH_DBC 76 #endif // defined TARGET_ARCH_DBC
OLDNEW
« no previous file with comments | « runtime/vm/stub_code.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698