Bug 1319203: Also rename "entry trampoline" to "slow entry trampoline" in wasm tests; r=me

This commit is contained in:
Benjamin Bouvier 2017-11-09 13:47:07 +01:00
Родитель 419eb8dbc8
Коммит d172c3963c
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -40,7 +40,7 @@ function assertStackContainsSeq(got, expect)
frame = frame.replace(/fast FFI trampoline to native/g, "N");
frame = frame.replace(/^call to( asm.js)? native .*\(in wasm\)$/g, "N");
frame = frame.replace(/(fast|slow) FFI trampoline/g, "<");
frame = frame.replace(/entry trampoline/g, ">");
frame = frame.replace(/slow entry trampoline/g, ">");
frame = frame.replace(/(\/[^\/,<]+)*\/testProfiling.js/g, "");
frame = frame.replace(/testBuiltinD2D/g, "");
frame = frame.replace(/testBuiltinF2F/g, "");

Просмотреть файл

@ -13,7 +13,7 @@ const Table = WebAssembly.Table;
function normalize(stack)
{
var wasmFrameTypes = [
{re:/^entry trampoline \(in wasm\)$/, sub:">"},
{re:/^slow entry trampoline \(in wasm\)$/, sub:">"},
{re:/^wasm-function\[(\d+)\] \(.*\)$/, sub:"$1"},
{re:/^(fast|slow) FFI trampoline (to native )?\(in wasm\)$/, sub:"<"},
{re:/^call to[ asm.js]? native (.*) \(in wasm\)$/, sub:"$1"},