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

Unified Diff: src/objects.h

Issue 1138243002: [strong] Introduce strong bit (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/macros.py ('k') | src/objects-inl.h » ('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 54375305bced4c8846dd5816ba333df065d9821b..2b722c078a038dba6bcf22005db395b3a38101c5 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5900,7 +5900,8 @@ class Map: public HeapObject {
class Deprecated : public BitField<bool, 23, 1> {};
class IsUnstable : public BitField<bool, 24, 1> {};
class IsMigrationTarget : public BitField<bool, 25, 1> {};
- // Bits 26 and 27 are free.
+ class IsStrong : public BitField<bool, 26, 1> {};
arv (Not doing code reviews) 2015/05/12 15:00:30 Can you change this to use kNext instead?
+ // Bit 27 is free.
// Keep this bit field at the very end for better code in
// Builtins::kJSConstructStubGeneric stub.
@@ -5978,6 +5979,8 @@ class Map: public HeapObject {
return ((1 << kIsObserved) & bit_field()) != 0;
}
+ inline void set_is_strong(bool value);
+ inline bool is_strong();
inline void set_is_extensible(bool value);
inline bool is_extensible();
inline void set_is_prototype_map(bool value);
« no previous file with comments | « src/macros.py ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698