Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1219)

Side by Side Diff: test/cctest/interpreter/Eval.golden

Issue 1717293002: [Interpreter] Refactor bytecode generator test suite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: std::vector instead of initializer_list, golden path as constant. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #
2 # Autogenerated by generate-bytecode-expectations
3 #
4
5 ---
6 pool type: string
7 execute: yes
8 wrap: yes
9
10 ---
11 snippet: "
12 return eval('1;');
13 "
14 frame size: 9 # in multiples of sizeof(void*)
15 parameter count: 1
16 bytecodes: [
17 B(CallRuntime), U16(461), R(closure), U8(1),
18 B(PushContext), R(0),
19 B(Ldar), R(this),
20 B(StaContextSlot), R(context), U8(4),
21 B(CreateMappedArguments),
22 B(StaContextSlot), R(context), U8(5),
23 B(Ldar), R(new_target),
24 B(StaContextSlot), R(context), U8(6),
25 B(StackCheck),
26 B(LdaConstant), U8(0),
27 B(Star), R(3),
28 B(CallRuntimeForPair), U16(1), R(3), U8(1), R(1),
29 B(LdaConstant), U8(1),
30 B(Star), R(3),
31 B(Mov), R(1), R(4),
32 B(Mov), R(3), R(5),
33 B(Mov), R(closure), R(6),
34 B(LdaZero),
35 B(Star), R(7),
36 B(LdaSmi8), U8(30),
37 B(Star), R(8),
38 B(CallRuntime), U16(106), R(4), U8(5),
39 B(Star), R(1),
40 B(Call), R(1), R(2), U8(2), U8(0),
41 B(Return),
42 ]
43 constant pool: [
44 "eval",
45 "1;",
46 ]
47 handlers: [
48 ]
49
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698