Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: src/isolate.h

Issue 5107003: [Isolates] Cleanup of codepaths slowing down Dromaeo in browser. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/isolates
Patch Set: with cr feedback Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« include/v8.h ('K') | « src/builtins.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) \
« include/v8.h ('K') | « src/builtins.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698