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

Unified Diff: runtime/vm/stub_code_dbc.cc

Issue 2473213002: DBC: When calling DRT_OptimizeInvokedFunction, patch the stack to have a stub instead of the to-be-… (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/stub_code_dbc.cc
diff --git a/runtime/vm/stub_code_dbc.cc b/runtime/vm/stub_code_dbc.cc
index 1f2d23e26c7bcce2600f9d0352b802ef3273ab2e..81a83d6e1fe4a84383b0eebd313cda858e7a2282 100644
--- a/runtime/vm/stub_code_dbc.cc
+++ b/runtime/vm/stub_code_dbc.cc
@@ -32,6 +32,13 @@ void StubCode::GenerateLazyCompileStub(Assembler* assembler) {
}
+// Not executed, but used as a stack marker when calling
+// DRT_OptimizeInvokedFunction.
+void StubCode::GenerateOptimizeFunctionStub(Assembler* assembler) {
+ __ Trap();
zra 2016/11/04 16:01:05 Oh okay, great.
+}
+
+
// TODO(vegorov) Don't generate this stub.
void StubCode::GenerateFixCallersTargetStub(Assembler* assembler) {
__ Trap();

Powered by Google App Engine
This is Rietveld 408576698