diff options
Diffstat (limited to 'deps/v8/test/cctest/types-fuzz.h')
-rw-r--r-- | deps/v8/test/cctest/types-fuzz.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/cctest/types-fuzz.h b/deps/v8/test/cctest/types-fuzz.h index db264db42c0..b6b5bf2dc55 100644 --- a/deps/v8/test/cctest/types-fuzz.h +++ b/deps/v8/test/cctest/types-fuzz.h @@ -40,7 +40,7 @@ namespace compiler { class Types { public: Types(Zone* zone, Isolate* isolate, v8::base::RandomNumberGenerator* rng) - : zone_(zone), js_heap_broker_(isolate), rng_(rng) { + : zone_(zone), js_heap_broker_(isolate, zone), rng_(rng) { #define DECLARE_TYPE(name, value) \ name = Type::name(); \ types.push_back(name); @@ -209,7 +209,7 @@ class Types { } Zone* zone() { return zone_; } - const JSHeapBroker* js_heap_broker() const { return &js_heap_broker_; } + JSHeapBroker* js_heap_broker() { return &js_heap_broker_; } private: Zone* zone_; |