summaryrefslogtreecommitdiff
path: root/deps/v8/src/wasm/compilation-environment.h
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2019-08-01 08:38:30 +0200
committerMichaël Zasso <targos@protonmail.com>2019-08-01 12:53:56 +0200
commit2dcc3665abf57c3607cebffdeeca062f5894885d (patch)
tree4f560748132edcfb4c22d6f967a7e80d23d7ea2c /deps/v8/src/wasm/compilation-environment.h
parent1ee47d550c6de132f06110aa13eceb7551d643b3 (diff)
downloadnode-new-2dcc3665abf57c3607cebffdeeca062f5894885d.tar.gz
deps: update V8 to 7.6.303.28
PR-URL: https://github.com/nodejs/node/pull/28016 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'deps/v8/src/wasm/compilation-environment.h')
-rw-r--r--deps/v8/src/wasm/compilation-environment.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/deps/v8/src/wasm/compilation-environment.h b/deps/v8/src/wasm/compilation-environment.h
index 1df93c8296..07bc8f57bc 100644
--- a/deps/v8/src/wasm/compilation-environment.h
+++ b/deps/v8/src/wasm/compilation-environment.h
@@ -119,13 +119,17 @@ class CompilationState {
void AddCallback(callback_t);
bool failed() const;
+ V8_EXPORT_PRIVATE bool baseline_compilation_finished() const;
+ V8_EXPORT_PRIVATE bool top_tier_compilation_finished() const;
- void OnFinishedUnit(WasmCode*);
- void OnFinishedUnits(Vector<WasmCode*>);
+ // Override {operator delete} to avoid implicit instantiation of {operator
+ // delete} with {size_t} argument. The {size_t} argument would be incorrect.
+ void operator delete(void* ptr) { ::operator delete(ptr); }
private:
+ // NativeModule is allowed to call the static {New} method.
friend class NativeModule;
- friend class WasmCompilationUnit;
+
CompilationState() = delete;
// The CompilationState keeps a {std::weak_ptr} back to the {NativeModule}