diff options
Diffstat (limited to 'deps/v8/src/snapshot/code-serializer.h')
-rw-r--r-- | deps/v8/src/snapshot/code-serializer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/deps/v8/src/snapshot/code-serializer.h b/deps/v8/src/snapshot/code-serializer.h index ace50b26f3a..2daf5200ec7 100644 --- a/deps/v8/src/snapshot/code-serializer.h +++ b/deps/v8/src/snapshot/code-serializer.h @@ -109,8 +109,7 @@ class SerializedCodeData : public SerializedData { static const uint32_t kHeaderSize = POINTER_SIZE_ALIGN(kUnalignedHeaderSize); // Used when consuming. - static SerializedCodeData FromCachedData(Isolate* isolate, - ScriptData* cached_data, + static SerializedCodeData FromCachedData(ScriptData* cached_data, uint32_t expected_source_hash, SanityCheckResult* rejection_result); @@ -136,8 +135,7 @@ class SerializedCodeData : public SerializedData { return Vector<const byte>(data_ + kHeaderSize, size_ - kHeaderSize); } - SanityCheckResult SanityCheck(Isolate* isolate, - uint32_t expected_source_hash) const; + SanityCheckResult SanityCheck(uint32_t expected_source_hash) const; }; } // namespace internal |