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

Unified Diff: src/objects-inl.h

Issue 1145213005: [strong] cache strong object literal maps (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix map comparison Created 5 years, 7 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/objects.cc ('k') | src/runtime/runtime-literals.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 50d02f9f655e887b10cf5dc4e290d0a343cd7480..28a1e9714a83c2e76cb0a5d19e294f7c9359a1e1 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -4733,8 +4733,8 @@ bool Map::is_migration_target() {
}
-void Map::set_is_strong(bool value) {
- set_bit_field3(IsStrong::update(bit_field3(), value));
+void Map::set_is_strong() {
+ set_bit_field3(IsStrong::update(bit_field3(), true));
}
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-literals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698