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

Unified Diff: src/objects.h

Issue 2041963003: [elements] Precisely estimate elements size for large-object limits (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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
« src/elements.cc ('K') | « src/lookup.cc ('k') | src/objects.cc » ('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 f7488ac9233a6d2756da3593b8714e0f2fbbf0cf..612f863379574f78eb91002a5feda16b6f9bc9e3 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -2647,7 +2647,7 @@ class FixedArray: public FixedArrayBase {
Isolate* isolate);
// Setter that uses write barrier.
inline void set(int index, Object* value);
- inline bool is_the_hole(int index);
+ inline bool is_the_hole(Isolate* isolate, int index);
// Setter that doesn't need write barrier.
inline void set(int index, Smi* value);
@@ -2737,6 +2737,7 @@ class FixedDoubleArray: public FixedArrayBase {
inline void set_the_hole(int index);
// Checking for the hole.
+ inline bool is_the_hole(Isolate* isolate, int index);
inline bool is_the_hole(int index);
// Garbage collection support.
« src/elements.cc ('K') | « src/lookup.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698