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

Unified Diff: src/objects.h

Issue 1115043005: Revert of Remove the weak list of array buffers (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/heap/objects-visiting-inl.h ('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 fef2d77f618a57d761f6076afe6562ba8158773c..7244d17b0cceaf663bb107656d6642062127ba68 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -10258,6 +10258,9 @@
inline bool was_neutered();
inline void set_was_neutered(bool value);
+ // [weak_next]: linked list of array buffers.
+ DECL_ACCESSORS(weak_next, Object)
+
DECLARE_CAST(JSArrayBuffer)
void Neuter();
@@ -10274,7 +10277,8 @@
#else
static const int kBitFieldOffset = kBitFieldSlot + kIntSize;
#endif
- static const int kSize = kBitFieldSlot + kPointerSize;
+ static const int kWeakNextOffset = kBitFieldSlot + kPointerSize;
+ static const int kSize = kWeakNextOffset + kPointerSize;
static const int kSizeWithInternalFields =
kSize + v8::ArrayBuffer::kInternalFieldCount * kPointerSize;
« no previous file with comments | « src/heap/objects-visiting-inl.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698