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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/ThisFunction.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: number
7 execute: yes
8 wrap: no
9 test function name: f
10
11 ---
12 snippet: "
13 var f;
14 f = function f() { }
rmcilroy 2016/02/24 08:55:34 indentation (and below)
Stefano Sanfilippo 2016/02/24 14:55:01 Done.
15 f();
16 "
17 frame size: 2
18 parameter count: 1
19 bytecode array length: 19
20 bytecodes: [
21 B(LdaTheHole),
22 B(Star), R(0),
23 B(StackCheck),
24 B(Ldar), R(closure),
25 B(Star), R(1),
26 B(Ldar), R(0),
27 B(JumpIfNotHole), U8(5),
28 B(Mov), R(1), R(0),
29 B(Ldar), R(1),
30 B(LdaUndefined),
31 B(Return),
32 ]
33 constant pool: [
34 ]
35 handlers: [
36 ]
37
38 ---
39 snippet: "
40 var f;
41 f = function f() { return f; }
42 f();
43 "
44 frame size: 2
45 parameter count: 1
46 bytecode array length: 23
47 bytecodes: [
48 B(LdaTheHole),
49 B(Star), R(0),
50 B(StackCheck),
51 B(Ldar), R(closure),
52 B(Star), R(1),
53 B(Ldar), R(0),
54 B(JumpIfNotHole), U8(5),
55 B(Mov), R(1), R(0),
56 B(Ldar), R(1),
57 B(Ldar), R(0),
58 B(JumpIfNotHole), U8(3),
59 B(LdaUndefined),
60 B(Return),
61 ]
62 constant pool: [
63 ]
64 handlers: [
65 ]
66
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698