Index: runtime/vm/compiler.h |
=================================================================== |
--- runtime/vm/compiler.h (revision 36443) |
+++ runtime/vm/compiler.h (working copy) |
@@ -39,12 +39,13 @@ |
// Generates code for given function and sets its code field. |
// |
// Returns Error::null() if there is no compilation error. |
- static RawError* CompileFunction(const Function& function); |
+ static RawError* CompileFunction(Isolate* isolate, const Function& function); |
// Generates optimized code for function. |
// |
// Returns Error::null() if there is no compilation error. |
static RawError* CompileOptimizedFunction( |
+ Isolate* isolate, |
const Function& function, |
intptr_t osr_id = Isolate::kNoDeoptId); |