summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/compilation-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/compilation-cache.h')
-rw-r--r--deps/v8/src/objects/compilation-cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/objects/compilation-cache.h b/deps/v8/src/objects/compilation-cache.h
index d5dd8ddddf..d3feb1b233 100644
--- a/deps/v8/src/objects/compilation-cache.h
+++ b/deps/v8/src/objects/compilation-cache.h
@@ -9,6 +9,7 @@
#include "src/objects/hash-table.h"
#include "src/objects/js-regexp.h"
#include "src/objects/shared-function-info.h"
+#include "src/roots.h"
// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"
@@ -33,7 +34,7 @@ class CompilationCacheShape : public BaseShape<HashTableKey*> {
LanguageMode language_mode,
int position);
- static inline uint32_t HashForObject(Isolate* isolate, Object object);
+ static inline uint32_t HashForObject(ReadOnlyRoots roots, Object object);
static const int kPrefixSize = 0;
static const int kEntrySize = 3;