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

Unified Diff: src/objects.h

Issue 1409003005: Move some code from Runtime_SetPrototype to JSObject::SetPrototype. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 5 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 | « no previous file | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 37618b42fc6aa2a64f1c7d627e94f6ae3a19593f..73eaf19e151e7f1bb9e6d85d4f92aeda699b5f66 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -2521,6 +2521,9 @@ class JSObject: public JSReceiver {
MUST_USE_RESULT static Maybe<bool> PreventExtensionsWithTransition(
Handle<JSObject> object, ShouldThrow should_throw);
+ MUST_USE_RESULT static MaybeHandle<Object> SetPrototypeUnobserved(
+ Handle<JSObject> object, Handle<Object> value, bool from_javascript);
+
DISALLOW_IMPLICIT_CONSTRUCTORS(JSObject);
};
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698