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

Unified Diff: runtime/vm/runtime_entry_ia32.cc

Issue 2976723003: Eliminate dependencies on assemblers and code stubs in precompiled runtime. (Closed)
Patch Set: Created 3 years, 5 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/runtime_entry_ia32.cc
diff --git a/runtime/vm/runtime_entry_ia32.cc b/runtime/vm/runtime_entry_ia32.cc
index fdb24640ecdcd03247f8961f73de64a7add945b2..5788353db09c7b5cbc819e4660187027b8f3c872 100644
--- a/runtime/vm/runtime_entry_ia32.cc
+++ b/runtime/vm/runtime_entry_ia32.cc
@@ -20,6 +20,7 @@ uword RuntimeEntry::GetEntryPoint() const {
}
+#if !defined(DART_PRECOMPILED_RUNTIME)
// Generate code to call into the stub which will call the runtime
// function. Input for the stub is as follows:
// For regular runtime calls -
@@ -41,6 +42,7 @@ void RuntimeEntry::Call(Assembler* assembler, intptr_t argument_count) const {
__ CallToRuntime();
}
}
+#endif // !defined(DART_PRECOMPILED_RUNTIME)
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698