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

Unified Diff: src/isolate-inl.h

Issue 1932163002: Reland of move more dead code after Object.observe removal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: don't throw on error Created 4 years, 8 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/isolate.h ('k') | src/js/array.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate-inl.h
diff --git a/src/isolate-inl.h b/src/isolate-inl.h
index c27b7a700d4143aee6afd0a10a69cb205296252c..214117879caee97253befe8e8fe90130fa6d76c2 100644
--- a/src/isolate-inl.h
+++ b/src/isolate-inl.h
@@ -73,7 +73,11 @@ bool Isolate::is_catchable_by_javascript(Object* exception) {
Handle<JSGlobalObject> Isolate::global_object() {
- return Handle<JSGlobalObject>(context()->global_object(), this);
+ return handle(context()->global_object(), this);
+}
+
+Handle<JSObject> Isolate::global_proxy() {
+ return handle(context()->global_proxy(), this);
}
« no previous file with comments | « src/isolate.h ('k') | src/js/array.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698