Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d7339d627cf07b904d887bd3fa125524e45cbfad..0a486dcff417e07cda99ccc71ff4f64f6863b081 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -3186,7 +3186,8 @@ class DescriptorArray: public FixedArray { |
// Allocates a DescriptorArray, but returns the singleton |
// empty descriptor array object if number_of_descriptors is 0. |
- MUST_USE_RESULT static MaybeObject* Allocate(int number_of_descriptors, |
+ MUST_USE_RESULT static MaybeObject* Allocate(Isolate* isolate, |
+ int number_of_descriptors, |
int slack = 0); |
// Casting. |
@@ -8724,13 +8725,14 @@ class Relocatable BASE_EMBEDDED { |
virtual void IterateInstance(ObjectVisitor* v) { } |
virtual void PostGarbageCollection() { } |
- static void PostGarbageCollectionProcessing(); |
- static int ArchiveSpacePerThread(); |
+ static void PostGarbageCollectionProcessing(Isolate* isolate); |
+ static int ArchiveSpacePerThread(Isolate* isolate); |
static char* ArchiveState(Isolate* isolate, char* to); |
static char* RestoreState(Isolate* isolate, char* from); |
- static void Iterate(ObjectVisitor* v); |
+ static void Iterate(Isolate* isolate, ObjectVisitor* v); |
static void Iterate(ObjectVisitor* v, Relocatable* top); |
- static char* Iterate(ObjectVisitor* v, char* t); |
+ static char* Iterate(Isolate* isolate, ObjectVisitor* v, char* t); |
+ |
private: |
Isolate* isolate_; |
Relocatable* prev_; |
@@ -8866,7 +8868,8 @@ class Oddball: public HeapObject { |
DECLARE_VERIFIER(Oddball) |
// Initialize the fields. |
- MUST_USE_RESULT MaybeObject* Initialize(const char* to_string, |
+ MUST_USE_RESULT MaybeObject* Initialize(Heap* heap, |
+ const char* to_string, |
Object* to_number, |
byte kind); |