Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index 9d0479781d7c00bdad2cb706355681b45ad5b513..880885593abe2916cdcad30bc46a369454fd663f 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -766,7 +766,7 @@ void Heap::CompletelyClearInstanceofCache() { |
MaybeObject* TranscendentalCache::Get(Type type, double input) { |
SubCache* cache = caches_[type]; |
if (cache == NULL) { |
- caches_[type] = cache = new SubCache(type); |
+ caches_[type] = cache = new SubCache(isolate_, type); |
} |
return cache->Get(input); |
} |