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

Side by Side Diff: test/cctest/interpreter/NewTarget.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: mixed
7 execute: yes
8 wrap: yes
9
10 ---
11 snippet: "
12 return new.target;
13 "
14 frame size: 2 # in multiples of sizeof(void*)
15 parameter count: 1
16 bytecodes: [
17 B(Ldar), R(new_target),
18 B(Star), R(0),
19 B(StackCheck),
20 B(Ldar), R(0),
21 B(JumpIfNotHole), U8(11),
22 B(LdaConstant), U8(0),
23 B(Star), R(1),
24 B(CallRuntime), U16(257), R(1), U8(1),
25 B(Return),
26 ]
27 constant pool: [
28 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
29 ]
30 handlers: [
31 ]
32
33 ---
34 snippet: "
35 new.target;
36 "
37 frame size: 2 # in multiples of sizeof(void*)
38 parameter count: 1
39 bytecodes: [
40 B(Ldar), R(new_target),
41 B(Star), R(0),
42 B(StackCheck),
43 B(Ldar), R(0),
44 B(JumpIfNotHole), U8(11),
45 B(LdaConstant), U8(0),
46 B(Star), R(1),
47 B(CallRuntime), U16(257), R(1), U8(1),
48 B(LdaUndefined),
49 B(Return),
50 ]
51 constant pool: [
52 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
53 ]
54 handlers: [
55 ]
56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698