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

Unified Diff: runtime/vm/stub_code.h

Issue 1192103004: VM: New calling convention for generated code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: preserve CODE_REG in ARM Integer_shl intrinsic. Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/stub_code.h
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h
index 3a5ffc18693b4c2f048ce1b693c9e16b72aea35b..3b49def63f8f8ec13180b7cd6a04d44ad9122ffa 100644
--- a/runtime/vm/stub_code.h
+++ b/runtime/vm/stub_code.h
@@ -160,9 +160,8 @@ class StubCode : public AllStatic {
void (*GenerateStub)(Assembler* assembler));
static void GenerateMegamorphicMissStub(Assembler* assembler);
- static void GenerateAllocationStubForClass(
- Assembler* assembler, const Class& cls,
- uword* entry_patch_offset, uword* patch_code_pc_offset);
+ static void GenerateAllocationStubForClass(Assembler* assembler,
+ const Class& cls);
static void GenerateNArgsCheckInlineCacheStub(
Assembler* assembler,
intptr_t num_args,
@@ -175,6 +174,12 @@ class StubCode : public AllStatic {
static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler);
};
+
+enum DeoptStubKind {
+ kLazyDeopt,
+ kEagerDeopt
+};
+
} // namespace dart
#endif // VM_STUB_CODE_H_

Powered by Google App Engine
This is Rietveld 408576698