Commit 0e257649 authored by Frederik Gossen's avatar Frederik Gossen Committed by Commit Bot

[wasm-hints] Print Callee

Print callee in mjsunit tests.

Bug: v8:9003
Change-Id: I9d2abf52a61288f3a58bfd2aee7aeea4a19a25b0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1582410Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Frederik Gossen <frgossen@google.com>
Cr-Commit-Position: refs/heads/master@{#61008}
parent a5941ac9
......@@ -7,6 +7,7 @@
load('test/mjsunit/wasm/wasm-module-builder.js');
(function testDecodeCompilationHintsSectionNoDowngrade() {
print(arguments.callee.name);
let builder = new WasmModuleBuilder();
builder.addImport('mod', 'pow', kSig_i_ii);
builder.addFunction('upow', kSig_i_i)
......@@ -24,6 +25,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js');
})();
(function testDecodeCompilationHintsSectionNoTiering() {
print(arguments.callee.name);
let builder = new WasmModuleBuilder();
builder.addImport('mod', 'pow', kSig_i_ii);
builder.addFunction('upow', kSig_i_i)
......@@ -47,6 +49,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js');
})();
(function testDecodeCompilationHintsSectionUpgrade() {
print(arguments.callee.name);
let builder = new WasmModuleBuilder();
builder.addImport('mod', 'pow', kSig_i_ii);
builder.addFunction('upow2', kSig_i_i)
......@@ -70,6 +73,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js');
})();
(function testDecodeCompilationHintsSectionNoImport() {
print(arguments.callee.name);
let builder = new WasmModuleBuilder();
builder.addFunction('sq', kSig_i_i)
.addBody([kExprGetLocal, 0,
......@@ -84,6 +88,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js');
})();
(function testDecodeCompilationHintsSectionNoExport() {
print(arguments.callee.name);
let builder = new WasmModuleBuilder();
builder.addFunction('sq', kSig_i_i)
.addBody([kExprGetLocal, 0,
......@@ -96,6 +101,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js');
})();
(function testDecodeCompilationHintsSectionTopTierDefault() {
print(arguments.callee.name);
let builder = new WasmModuleBuilder();
builder.addFunction('sq', kSig_i_i)
.addBody([kExprGetLocal, 0,
......@@ -110,6 +116,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js');
})();
(function testDecodeCompilationHintsInvalidStrategy() {
print(arguments.callee.name);
let builder = new WasmModuleBuilder();
builder.addFunction('sq', kSig_i_i)
.addBody([kExprGetLocal, 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment