b3d004aaf9
... /interpreter. This CL moves cctest/interpreter/{bytecode-expectations-printer, test-bytecode-generator, test-interpreter-intrinsics, interpreter-tester, test-interpreter, test-source-positions, source-position-matcher} to unittests/interpreter/{ bytecode-expectations-printer, bytecode-generator-unittest, interpreter-intrinsics-unittest, interpreter-tester, interpreter-unittest, source-positions-unittest, source-position-matcher}. Bug: v8:12781 Change-Id: I187583bd34f709dd0d7dfc0f92e18f191da0e30f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3609752 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: 王澳 <wangao.james@bytedance.com> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/main@{#81057}
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
wrap: yes
|
|
|
|
---
|
|
snippet: "
|
|
return eval('1;');
|
|
"
|
|
frame size: 10
|
|
parameter count: 1
|
|
bytecode array length: 52
|
|
bytecodes: [
|
|
/* 30 E> */ B(CreateFunctionContext), U8(0), U8(4),
|
|
B(PushContext), R(1),
|
|
B(Ldar), R(this),
|
|
B(StaCurrentContextSlot), U8(3),
|
|
B(CreateMappedArguments),
|
|
B(StaCurrentContextSlot), U8(5),
|
|
B(Ldar), R(0),
|
|
B(StaCurrentContextSlot), U8(4),
|
|
/* 34 S> */ B(LdaLookupGlobalSlot), U8(1), U8(0), U8(1),
|
|
B(Star2),
|
|
B(LdaConstant), U8(2),
|
|
B(Star3),
|
|
B(LdaZero),
|
|
B(Star7),
|
|
B(LdaSmi), I8(30),
|
|
B(Star8),
|
|
B(LdaSmi), I8(41),
|
|
B(Star9),
|
|
B(Mov), R(2), R(4),
|
|
B(Mov), R(3), R(5),
|
|
B(Mov), R(closure), R(6),
|
|
B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
|
|
B(Star2),
|
|
/* 41 E> */ B(CallUndefinedReceiver1), R(2), R(3), U8(2),
|
|
/* 52 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
SCOPE_INFO_TYPE,
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["eval"],
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["1;"],
|
|
]
|
|
handlers: [
|
|
]
|
|
|