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

Unified Diff: src/objects.h

Issue 1239803004: Bubble up the transitions associated with PreventExtensionsWithTransition (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix nits Created 5 years, 5 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') | src/objects.cc » ('J')
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 0af8de1d35daf40d12e26ff69f7d15f267426cb3..a14f1cd52508b454f692d253dedc101f60c07cac 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5932,6 +5932,13 @@ class Map: public HeapObject {
Handle<Symbol> transition_marker,
const char* reason);
+ static MaybeHandle<Map> TransitionForPreventExtensions(
+ Handle<Map> old_map, PropertyAttributes attrs,
+ Handle<Symbol> transition_marker);
+
+ static Handle<Symbol> AsTransitionMarker(Isolate* isolate,
+ PropertyAttributes attrs);
+
static Handle<Map> FixProxy(Handle<Map> map, InstanceType type, int size);
« no previous file with comments | « no previous file | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698