diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-11-08 15:39:11 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-11-08 15:46:25 +0100 |
commit | 6ca81ad72a3c6fdf16c683335be748f22aaa9a0d (patch) | |
tree | 33c8ee75f729aed76c2c0b89c63f9bf1b4dd66aa /deps/v8/test/cctest/wasm/test-streaming-compilation.cc | |
parent | 1eee0b8bf8bba39b600fb16a9223e545e3bac2bc (diff) | |
download | android-node-v8-6ca81ad72a3c6fdf16c683335be748f22aaa9a0d.tar.gz android-node-v8-6ca81ad72a3c6fdf16c683335be748f22aaa9a0d.tar.bz2 android-node-v8-6ca81ad72a3c6fdf16c683335be748f22aaa9a0d.zip |
deps: update V8 to 7.9.317.20
PR-URL: https://github.com/nodejs/node/pull/30020
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'deps/v8/test/cctest/wasm/test-streaming-compilation.cc')
-rw-r--r-- | deps/v8/test/cctest/wasm/test-streaming-compilation.cc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/deps/v8/test/cctest/wasm/test-streaming-compilation.cc b/deps/v8/test/cctest/wasm/test-streaming-compilation.cc index 795fa30e72..f9089b7821 100644 --- a/deps/v8/test/cctest/wasm/test-streaming-compilation.cc +++ b/deps/v8/test/cctest/wasm/test-streaming-compilation.cc @@ -194,17 +194,17 @@ ZoneBuffer GetValidModuleBytes(Zone* zone) { WasmModuleBuilder builder(zone); { WasmFunctionBuilder* f = builder.AddFunction(sigs.i_iii()); - uint8_t code[] = {kExprGetLocal, 0, kExprEnd}; + uint8_t code[] = {kExprLocalGet, 0, kExprEnd}; f->EmitCode(code, arraysize(code)); } { WasmFunctionBuilder* f = builder.AddFunction(sigs.i_iii()); - uint8_t code[] = {kExprGetLocal, 1, kExprEnd}; + uint8_t code[] = {kExprLocalGet, 1, kExprEnd}; f->EmitCode(code, arraysize(code)); } { WasmFunctionBuilder* f = builder.AddFunction(sigs.i_iii()); - uint8_t code[] = {kExprGetLocal, 2, kExprEnd}; + uint8_t code[] = {kExprLocalGet, 2, kExprEnd}; f->EmitCode(code, arraysize(code)); } builder.WriteTo(&buffer); @@ -317,17 +317,17 @@ ZoneBuffer GetModuleWithInvalidSection(Zone* zone) { WasmInitExpr(WasmInitExpr::kGlobalIndex, 12)); { WasmFunctionBuilder* f = builder.AddFunction(sigs.i_iii()); - uint8_t code[] = {kExprGetLocal, 0, kExprEnd}; + uint8_t code[] = {kExprLocalGet, 0, kExprEnd}; f->EmitCode(code, arraysize(code)); } { WasmFunctionBuilder* f = builder.AddFunction(sigs.i_iii()); - uint8_t code[] = {kExprGetLocal, 1, kExprEnd}; + uint8_t code[] = {kExprLocalGet, 1, kExprEnd}; f->EmitCode(code, arraysize(code)); } { WasmFunctionBuilder* f = builder.AddFunction(sigs.i_iii()); - uint8_t code[] = {kExprGetLocal, 2, kExprEnd}; + uint8_t code[] = {kExprLocalGet, 2, kExprEnd}; f->EmitCode(code, arraysize(code)); } builder.WriteTo(&buffer); @@ -442,7 +442,7 @@ STREAM_TEST(TestErrorInCodeSectionDetectedByModuleDecoder) { uint8_t code[] = { U32V_1(4), // body size U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; const uint8_t bytes[] = { @@ -481,7 +481,7 @@ STREAM_TEST(TestErrorInCodeSectionDetectedByStreamingDecoder) { uint8_t code[] = { U32V_1(26), // !!! invalid body size !!! U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; const uint8_t bytes[] = { @@ -520,7 +520,7 @@ STREAM_TEST(TestErrorInCodeSectionDetectedByCompiler) { uint8_t code[] = { U32V_1(4), // !!! invalid body size !!! U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; uint8_t invalid_code[] = { @@ -679,7 +679,7 @@ STREAM_TEST(TestAbortAfterFunctionGotCompiled1) { uint8_t code[] = { U32V_1(4), // !!! invalid body size !!! U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; const uint8_t bytes[] = { @@ -713,7 +713,7 @@ STREAM_TEST(TestAbortAfterFunctionGotCompiled2) { uint8_t code[] = { U32V_1(4), // !!! invalid body size !!! U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; const uint8_t bytes[] = { @@ -745,7 +745,7 @@ STREAM_TEST(TestAbortAfterCodeSection1) { uint8_t code[] = { U32V_1(4), // body size U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; const uint8_t bytes[] = { @@ -781,7 +781,7 @@ STREAM_TEST(TestAbortAfterCodeSection2) { uint8_t code[] = { U32V_1(4), // body size U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; const uint8_t bytes[] = { @@ -815,7 +815,7 @@ STREAM_TEST(TestAbortAfterCompilationError1) { uint8_t code[] = { U32V_1(4), // !!! invalid body size !!! U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; uint8_t invalid_code[] = { @@ -857,7 +857,7 @@ STREAM_TEST(TestAbortAfterCompilationError2) { uint8_t code[] = { U32V_1(4), // !!! invalid body size !!! U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; uint8_t invalid_code[] = { @@ -934,7 +934,7 @@ STREAM_TEST(TestModuleWithMultipleFunctions) { uint8_t code[] = { U32V_1(4), // body size U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; const uint8_t bytes[] = { @@ -970,7 +970,7 @@ STREAM_TEST(TestModuleWithDataSection) { uint8_t code[] = { U32V_1(4), // body size U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; const uint8_t bytes[] = { @@ -1016,7 +1016,7 @@ STREAM_TEST(TestModuleWithImportedFunction) { builder.AddImport(ArrayVector("Test"), sigs.i_iii()); { WasmFunctionBuilder* f = builder.AddFunction(sigs.i_iii()); - uint8_t code[] = {kExprGetLocal, 0, kExprEnd}; + uint8_t code[] = {kExprLocalGet, 0, kExprEnd}; f->EmitCode(code, arraysize(code)); } builder.WriteTo(&buffer); @@ -1047,7 +1047,7 @@ STREAM_TEST(TestModuleWithErrorAfterDataSection) { U32V_1(1), // functions count U32V_1(4), // body size U32V_1(0), // locals count - kExprGetLocal, // some code + kExprLocalGet, // some code 0, // some code kExprEnd, // some code kDataSectionCode, // section code @@ -1133,7 +1133,7 @@ STREAM_TEST(TestSetModuleCompiledCallback) { uint8_t code[] = { U32V_1(4), // body size U32V_1(0), // locals count - kExprGetLocal, 0, kExprEnd // body + kExprLocalGet, 0, kExprEnd // body }; const uint8_t bytes[] = { |