Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/parsing/preparse-data.h')
-rw-r--r--deps/v8/src/parsing/preparse-data.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/deps/v8/src/parsing/preparse-data.h b/deps/v8/src/parsing/preparse-data.h
index 409942f8c31..aa31326f9fb 100644
--- a/deps/v8/src/parsing/preparse-data.h
+++ b/deps/v8/src/parsing/preparse-data.h
@@ -134,8 +134,6 @@ class V8_EXPORT_PRIVATE PreparseDataBuilder : public ZoneObject,
ByteData()
: byte_data_(nullptr), index_(0), free_quarters_in_last_byte_(0) {}
- ~ByteData() {}
-
void Start(std::vector<uint8_t>* buffer);
void Finalize(Zone* zone);
@@ -297,8 +295,9 @@ class ConsumedPreparseData {
// Restores the information needed for allocating the Scope's (and its
// subscopes') variables.
- virtual void RestoreScopeAllocationData(
- DeclarationScope* scope, AstValueFactory* ast_value_factory) = 0;
+ virtual void RestoreScopeAllocationData(DeclarationScope* scope,
+ AstValueFactory* ast_value_factory,
+ Zone* zone) = 0;
protected:
ConsumedPreparseData() = default;