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

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

Issue 2664083002: [ignition] desugar async functions/generators/modules in BytecodeGenerator
Patch Set: get rid of lambdas, for better or worse.. Created 3 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
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 wrap: no 6 wrap: no
7 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
11 var f; 11 var f;
12 f = function f() {}; 12 f = function f() {};
13 f(); 13 f();
14 " 14 "
15 frame size: 1 15 frame size: 0
16 parameter count: 1 16 parameter count: 1
17 bytecode array length: 6 17 bytecode array length: 3
18 bytecodes: [ 18 bytecodes: [
19 /* 21 E> */ B(StackCheck), 19 /* 21 E> */ B(StackCheck),
20 B(Mov), R(closure), R(0),
21 B(LdaUndefined), 20 B(LdaUndefined),
22 /* 25 S> */ B(Return), 21 /* 25 S> */ B(Return),
23 ] 22 ]
24 constant pool: [ 23 constant pool: [
25 ] 24 ]
26 handlers: [ 25 handlers: [
27 ] 26 ]
28 27
29 --- 28 ---
30 snippet: " 29 snippet: "
31 var f; 30 var f;
32 f = function f() { return f; }; 31 f = function f() { return f; };
33 f(); 32 f();
34 " 33 "
35 frame size: 1 34 frame size: 1
36 parameter count: 1 35 parameter count: 1
37 bytecode array length: 7 36 bytecode array length: 7
38 bytecodes: [ 37 bytecodes: [
39 /* 21 E> */ B(StackCheck), 38 /* 21 E> */ B(StackCheck),
40 B(Mov), R(closure), R(0), 39 B(Mov), R(closure), R(0),
41 /* 26 S> */ B(Ldar), R(0), 40 /* 26 S> */ B(Ldar), R(0),
42 /* 36 S> */ B(Return), 41 /* 36 S> */ B(Return),
43 ] 42 ]
44 constant pool: [ 43 constant pool: [
45 ] 44 ]
46 handlers: [ 45 handlers: [
47 ] 46 ]
48 47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698