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

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

Issue 2684993002: [interpreter] Create custom call opcodes for specific argument counts (Closed)
Patch Set: Fix golden files again Created 3 years, 9 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: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 return function(){ } 10 return function(){ }
(...skipping 11 matching lines...) Expand all
22 ] 22 ]
23 handlers: [ 23 handlers: [
24 ] 24 ]
25 25
26 --- 26 ---
27 snippet: " 27 snippet: "
28 return (function(){ })() 28 return (function(){ })()
29 " 29 "
30 frame size: 2 30 frame size: 2
31 parameter count: 1 31 parameter count: 1
32 bytecode array length: 16 32 bytecode array length: 15
33 bytecodes: [ 33 bytecodes: [
34 /* 30 E> */ B(StackCheck), 34 /* 30 E> */ B(StackCheck),
35 /* 34 S> */ B(LdaUndefined), 35 /* 34 S> */ B(LdaUndefined),
36 B(Star), R(1), 36 B(Star), R(1),
37 B(CreateClosure), U8(0), U8(4), U8(2), 37 B(CreateClosure), U8(0), U8(4), U8(2),
38 B(Star), R(0), 38 B(Star), R(0),
39 /* 56 E> */ B(Call), R(0), R(1), U8(1), U8(2), 39 /* 56 E> */ B(Call0), R(0), R(1), U8(2),
40 /* 59 S> */ B(Return), 40 /* 59 S> */ B(Return),
41 ] 41 ]
42 constant pool: [ 42 constant pool: [
43 SHARED_FUNCTION_INFO_TYPE, 43 SHARED_FUNCTION_INFO_TYPE,
44 ] 44 ]
45 handlers: [ 45 handlers: [
46 ] 46 ]
47 47
48 --- 48 ---
49 snippet: " 49 snippet: "
50 return (function(x){ return x; })(1) 50 return (function(x){ return x; })(1)
51 " 51 "
52 frame size: 3 52 frame size: 3
53 parameter count: 1 53 parameter count: 1
54 bytecode array length: 20 54 bytecode array length: 20
55 bytecodes: [ 55 bytecodes: [
56 /* 30 E> */ B(StackCheck), 56 /* 30 E> */ B(StackCheck),
57 /* 34 S> */ B(LdaUndefined), 57 /* 34 S> */ B(LdaUndefined),
58 B(Star), R(1), 58 B(Star), R(1),
59 B(CreateClosure), U8(0), U8(4), U8(2), 59 B(CreateClosure), U8(0), U8(4), U8(2),
60 B(Star), R(0), 60 B(Star), R(0),
61 B(LdaSmi), I8(1), 61 B(LdaSmi), I8(1),
62 B(Star), R(2), 62 B(Star), R(2),
63 /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(2), 63 /* 67 E> */ B(Call1), R(0), R(1), R(2), U8(2),
64 /* 71 S> */ B(Return), 64 /* 71 S> */ B(Return),
65 ] 65 ]
66 constant pool: [ 66 constant pool: [
67 SHARED_FUNCTION_INFO_TYPE, 67 SHARED_FUNCTION_INFO_TYPE,
68 ] 68 ]
69 handlers: [ 69 handlers: [
70 ] 70 ]
71 71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698