Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 326a3a6fcbbe4008342c6543ab779901bc1e0512..859506dc96c475cd6934da043df0af21789683f9 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -106,10 +106,9 @@ class DebuggerAgent; |
// of handles to the actual constants. |
typedef ZoneList<Handle<Object> > ZoneObjectList; |
-// TODO(isolates): pass isolate pointer here. |
-#define RETURN_IF_SCHEDULED_EXCEPTION() \ |
- if (Isolate::Current()->has_scheduled_exception()) \ |
- return Isolate::Current()->PromoteScheduledException() |
+#define RETURN_IF_SCHEDULED_EXCEPTION(isolate) \ |
+ if (isolate->has_scheduled_exception()) \ |
+ return isolate->PromoteScheduledException() |
#define ISOLATE_ADDRESS_LIST(C) \ |
C(handler_address) \ |