Chromium Code Reviews| Index: src/isolate.h |
| diff --git a/src/isolate.h b/src/isolate.h |
| index 326a3a6fcbbe4008342c6543ab779901bc1e0512..1a612e035ba4e4e8d160794b5e0634dae33a57f7 100644 |
| --- a/src/isolate.h |
| +++ b/src/isolate.h |
| @@ -107,9 +107,9 @@ class DebuggerAgent; |
| typedef ZoneList<Handle<Object> > ZoneObjectList; |
| // TODO(isolates): pass isolate pointer here. |
|
Vitaly Repeshko
2010/12/07 13:35:13
The todo is done!
|
| -#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) \ |