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

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 nonextensible and sealed as special transitions 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
« no previous file with comments | « src/objects.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 0823e6694040c35e78098774736295348ccb26b3..7d47c60d03559001b01d3b1d41b672a6f1c3acb4 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -4637,16 +4637,6 @@ void Map::set_counter(int value) {
int Map::counter() { return Counter::decode(bit_field3()); }
-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));
}
« no previous file with comments | « src/objects.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698