Skip to content

Commit

Permalink
Upgrade V8 binaries for 9.6.180.21 version
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanahsmith committed Dec 23, 2021
1 parent a0417ad commit 0ecba54
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deps/include/v8-version.h
Expand Up @@ -11,7 +11,7 @@
#define V8_MAJOR_VERSION 9
#define V8_MINOR_VERSION 6
#define V8_BUILD_NUMBER 180
#define V8_PATCH_LEVEL 12
#define V8_PATCH_LEVEL 21

// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
Expand Down
8 changes: 7 additions & 1 deletion deps/include/v8-wasm.h
Expand Up @@ -151,8 +151,12 @@ class V8_EXPORT WasmStreaming final {
* {Finish} should be called after all received bytes where passed to
* {OnBytesReceived} to tell V8 that there will be no more bytes. {Finish}
* does not have to be called after {Abort} has been called already.
* If {can_use_compiled_module} is true and {SetCompiledModuleBytes} was
* previously called, the compiled module bytes can be used.
* If {can_use_compiled_module} is false, the compiled module bytes previously
* set by {SetCompiledModuleBytes} should not be used.
*/
void Finish();
void Finish(bool can_use_compiled_module = true);

/**
* Abort streaming compilation. If {exception} has a value, then the promise
Expand All @@ -167,6 +171,8 @@ class V8_EXPORT WasmStreaming final {
* can be used, false otherwise. The buffer passed via {bytes} and {size}
* is owned by the caller. If {SetCompiledModuleBytes} returns true, the
* buffer must remain valid until either {Finish} or {Abort} completes.
* The compiled module bytes should not be used until {Finish(true)} is
* called, because they can be invalidated later by {Finish(false)}.
*/
bool SetCompiledModuleBytes(const uint8_t* bytes, size_t size);

Expand Down
2 changes: 1 addition & 1 deletion deps/v8
Submodule v8 updated from 7a8373 to f7fbc9
2 changes: 1 addition & 1 deletion deps/v8_version
@@ -1 +1 @@
9.6.180.12
9.6.180.21

0 comments on commit 0ecba54

Please sign in to comment.