Index: src/assembler.h |
diff --git a/src/assembler.h b/src/assembler.h |
index 1243adf468cbc91b25db83a58e4cd0732aaa6b07..5434065314d9277df6d7fca33971269330fe2c20 100644 |
--- a/src/assembler.h |
+++ b/src/assembler.h |
@@ -866,7 +866,8 @@ class ExternalReference BASE_EMBEDDED { |
static void InitializeMathExpData(); |
static void TearDownMathExpData(); |
- typedef void* ExternalReferenceRedirector(void* original, Type type); |
+ typedef void* ExternalReferenceRedirector(Isolate* isolate, void* original, |
+ Type type); |
ExternalReference() : address_(NULL) {} |
@@ -1043,9 +1044,8 @@ class ExternalReference BASE_EMBEDDED { |
reinterpret_cast<ExternalReferenceRedirector*>( |
isolate->external_reference_redirector()); |
void* address = reinterpret_cast<void*>(address_arg); |
- void* answer = (redirector == NULL) ? |
- address : |
- (*redirector)(address, type); |
+ void* answer = |
+ (redirector == NULL) ? address : (*redirector)(isolate, address, type); |
return answer; |
} |