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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/CallGlobal.golden

Issue 1717293002: [Interpreter] Refactor bytecode generator test suite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move golden files to subdir, update golden format. 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: no
9 test function name: f
10
11 ---
12 snippet: "
13 function t() { }
14 function f() { return t(); }
15 f()
16 "
17 frame size: 2
18 parameter count: 1
19 bytecode array length: 15
20 bytecodes: [
21 B(StackCheck),
22 B(LdaUndefined),
23 B(Star), R(1),
24 B(LdaGlobal), U8(0), U8(3),
25 B(Star), R(0),
26 B(Call), R(0), R(1), U8(1), U8(1),
27 B(Return),
28 ]
29 constant pool: [
30 "t",
31 ]
32 handlers: [
33 ]
34
35 ---
36 snippet: "
37 function t(a, b, c) { }
38 function f() { return t(1, 2, 3); }
39 f()
40 "
41 frame size: 5
42 parameter count: 1
43 bytecode array length: 27
44 bytecodes: [
45 B(StackCheck),
46 B(LdaUndefined),
47 B(Star), R(1),
48 B(LdaGlobal), U8(0), U8(3),
49 B(Star), R(0),
50 B(LdaSmi8), U8(1),
51 B(Star), R(2),
52 B(LdaSmi8), U8(2),
53 B(Star), R(3),
54 B(LdaSmi8), U8(3),
55 B(Star), R(4),
56 B(Call), R(0), R(1), U8(4), U8(1),
57 B(Return),
58 ]
59 constant pool: [
60 "t",
61 ]
62 handlers: [
63 ]
64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698