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

Unified Diff: src/objects-inl.h

Issue 776143005: Optimize Object.seal and Object.preventExtensions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add support for preventExtensions Created 6 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
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index f6f47e547606f8c7dfc89685504b8004adbe81e8..bb948390123908dfdaa00661da939256bd760c0e 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -4647,16 +4647,6 @@ int Map::construction_count() {
}
-void Map::freeze() {
- set_bit_field3(IsFrozen::update(bit_field3(), true));
-}
-
-
-bool Map::is_frozen() {
- return IsFrozen::decode(bit_field3());
-}
-
-
void Map::mark_unstable() {
set_bit_field3(IsUnstable::update(bit_field3(), true));
}

Powered by Google App Engine
This is Rietveld 408576698