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

Unified Diff: src/isolate.h

Issue 653023004: Work in progress: allow pause-on-exceptions to work in Object.observe callbacks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months 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/debug.cc ('k') | src/isolate.cc » ('j') | src/object-observe.js » ('J')
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 7944d0e96370bd830373ca739612efcf33588d84..8657aaad813b85102c598f7c4257770b7ea2eadc 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -700,7 +700,7 @@ class Isolate {
bool OptionalRescheduleException(bool is_bottom_call);
// Push and pop a promise and the current try-catch handler.
- void PushPromise(Handle<JSObject> promise);
+ void PushPromise(Handle<Object> promise);
void PopPromise();
Handle<Object> GetPromiseOnStackOnThrow();
@@ -1344,12 +1344,12 @@ class PromiseOnStack {
PromiseOnStack* prev)
: handler_(handler), promise_(promise), prev_(prev) {}
StackHandler* handler() { return handler_; }
- Handle<JSObject> promise() { return promise_; }
+ Handle<Object> promise() { return promise_; }
PromiseOnStack* prev() { return prev_; }
private:
StackHandler* handler_;
- Handle<JSObject> promise_;
+ Handle<Object> promise_;
PromiseOnStack* prev_;
};
« no previous file with comments | « src/debug.cc ('k') | src/isolate.cc » ('j') | src/object-observe.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698