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

Unified Diff: runtime/vm/compiler.h

Issue 17233003: Reapply "Initial implementation of on-stack replacement (OSR)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.h
diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h
index 352ac4f566df0f84f0e6cd4d0ad3639160f78534..ab49c800afeb4042124a99ab90060811801fa59d 100644
--- a/runtime/vm/compiler.h
+++ b/runtime/vm/compiler.h
@@ -44,7 +44,9 @@ class Compiler : public AllStatic {
// Generates optimized code for function.
//
// Returns Error::null() if there is no compilation error.
- static RawError* CompileOptimizedFunction(const Function& function);
+ static RawError* CompileOptimizedFunction(
+ const Function& function,
+ intptr_t osr_id = Isolate::kNoDeoptId);
// Generates code for given parsed function (without parsing it again) and
// sets its code field.
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698