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

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: final cleanup 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
« no previous file with comments | « 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..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) \
« no previous file with comments | « src/builtins.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698