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

Unified Diff: src/objects.h

Issue 1115853004: Reland "Remove the weak list of array buffers" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: ignore empty array buffers 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 7244d17b0cceaf663bb107656d6642062127ba68..fef2d77f618a57d761f6076afe6562ba8158773c 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -10258,9 +10258,6 @@ class JSArrayBuffer: public JSObject {
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();
@@ -10277,8 +10274,7 @@ class JSArrayBuffer: public JSObject {
#else
static const int kBitFieldOffset = kBitFieldSlot + kIntSize;
#endif
- static const int kWeakNextOffset = kBitFieldSlot + kPointerSize;
- static const int kSize = kWeakNextOffset + kPointerSize;
+ static const int kSize = kBitFieldSlot + kPointerSize;
static const int kSizeWithInternalFields =
kSize + v8::ArrayBuffer::kInternalFieldCount * kPointerSize;
« src/heap/heap.cc ('K') | « 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