Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 151a51ca31d03c123035dfc7a3c789b4a358eae9..e91b241579b0389aee2f373b262e80c0aefd7102 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -149,10 +149,10 @@ class CodeStub BASE_EMBEDDED { |
virtual ~CodeStub() {} |
- bool CompilingCallsToThisStubIsGCSafe() { |
+ bool CompilingCallsToThisStubIsGCSafe(Isolate* isolate) { |
bool is_pregenerated = IsPregenerated(); |
Code* code = NULL; |
- CHECK(!is_pregenerated || FindCodeInCache(&code, Isolate::Current())); |
+ CHECK(!is_pregenerated || FindCodeInCache(&code, isolate)); |
return is_pregenerated; |
} |