Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 84d720b248e7efc2e7492881a2be8f6cc43046c9..fff588af3537e2b6cfb4de9d13c91bce4c03617d 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -969,8 +969,8 @@ ExternalReference::ExternalReference(const Runtime::Function* f, |
: address_(Redirect(isolate, f->entry)) {} |
-ExternalReference ExternalReference::isolate_address() { |
- return ExternalReference(Isolate::Current()); |
+ExternalReference ExternalReference::isolate_address(Isolate* isolate) { |
+ return ExternalReference(isolate); |
} |