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

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

Issue 2677163003: WIP: type profiling. (Closed)
Patch Set: Rebaseline. 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: "
(...skipping 13 matching lines...) Expand all
24 constant pool: [ 24 constant pool: [
25 ] 25 ]
26 handlers: [ 26 handlers: [
27 ] 27 ]
28 28
29 --- 29 ---
30 snippet: " 30 snippet: "
31 function f(a, ...restArgs) { return restArgs; } 31 function f(a, ...restArgs) { return restArgs; }
32 f(); 32 f();
33 " 33 "
34 frame size: 2 34 frame size: 3
35 parameter count: 2 35 parameter count: 2
36 bytecode array length: 13 36 bytecode array length: 17
37 bytecodes: [ 37 bytecodes: [
38 B(CreateRestParameter), 38 B(CreateRestParameter),
39 B(Star), R(0), 39 B(Star), R(0),
40 B(LdaTheHole), 40 B(LdaTheHole),
41 B(Star), R(1), 41 B(Star), R(1),
42 /* 10 E> */ B(StackCheck), 42 /* 10 E> */ B(StackCheck),
43 B(LdaConstant), U8(0),
44 B(Star), R(2),
43 B(Mov), R(arg0), R(1), 45 B(Mov), R(arg0), R(1),
44 /* 29 S> */ B(Ldar), R(0), 46 /* 29 S> */ B(Ldar), R(0),
45 /* 46 S> */ B(Return), 47 /* 46 S> */ B(Return),
46 ] 48 ]
47 constant pool: [ 49 constant pool: [
50 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
48 ] 51 ]
49 handlers: [ 52 handlers: [
50 ] 53 ]
51 54
52 --- 55 ---
53 snippet: " 56 snippet: "
54 function f(a, ...restArgs) { return restArgs[0]; } 57 function f(a, ...restArgs) { return restArgs[0]; }
55 f(); 58 f();
56 " 59 "
57 frame size: 2 60 frame size: 3
58 parameter count: 2 61 parameter count: 2
59 bytecode array length: 15 62 bytecode array length: 19
60 bytecodes: [ 63 bytecodes: [
61 B(CreateRestParameter), 64 B(CreateRestParameter),
62 B(Star), R(0), 65 B(Star), R(0),
63 B(LdaTheHole), 66 B(LdaTheHole),
64 B(Star), R(1), 67 B(Star), R(1),
65 /* 10 E> */ B(StackCheck), 68 /* 10 E> */ B(StackCheck),
69 B(LdaConstant), U8(0),
70 B(Star), R(2),
66 B(Mov), R(arg0), R(1), 71 B(Mov), R(arg0), R(1),
67 /* 29 S> */ B(LdaZero), 72 /* 29 S> */ B(LdaZero),
68 /* 44 E> */ B(LdaKeyedProperty), R(0), U8(2), 73 /* 44 E> */ B(LdaKeyedProperty), R(0), U8(4),
69 /* 49 S> */ B(Return), 74 /* 49 S> */ B(Return),
70 ] 75 ]
71 constant pool: [ 76 constant pool: [
77 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
72 ] 78 ]
73 handlers: [ 79 handlers: [
74 ] 80 ]
75 81
76 --- 82 ---
77 snippet: " 83 snippet: "
78 function f(a, ...restArgs) { return restArgs[0] + arguments[0]; } 84 function f(a, ...restArgs) { return restArgs[0] + arguments[0]; }
79 f(); 85 f();
80 " 86 "
81 frame size: 4 87 frame size: 4
82 parameter count: 2 88 parameter count: 2
83 bytecode array length: 27 89 bytecode array length: 31
84 bytecodes: [ 90 bytecodes: [
85 B(CreateUnmappedArguments), 91 B(CreateUnmappedArguments),
86 B(Star), R(2), 92 B(Star), R(2),
87 B(CreateRestParameter), 93 B(CreateRestParameter),
88 B(Star), R(0), 94 B(Star), R(0),
89 B(LdaTheHole), 95 B(LdaTheHole),
90 B(Star), R(1), 96 B(Star), R(1),
91 /* 10 E> */ B(StackCheck), 97 /* 10 E> */ B(StackCheck),
98 B(LdaConstant), U8(0),
99 B(Star), R(3),
92 B(Mov), R(arg0), R(1), 100 B(Mov), R(arg0), R(1),
93 /* 29 S> */ B(LdaZero), 101 /* 29 S> */ B(LdaZero),
94 /* 44 E> */ B(LdaKeyedProperty), R(0), U8(2), 102 /* 44 E> */ B(LdaKeyedProperty), R(0), U8(4),
95 B(Star), R(3), 103 B(Star), R(3),
96 B(LdaZero), 104 B(LdaZero),
97 /* 59 E> */ B(LdaKeyedProperty), R(2), U8(4), 105 /* 59 E> */ B(LdaKeyedProperty), R(2), U8(6),
98 /* 48 E> */ B(Add), R(3), U8(6), 106 /* 48 E> */ B(Add), R(3), U8(8),
99 /* 64 S> */ B(Return), 107 /* 64 S> */ B(Return),
100 ] 108 ]
101 constant pool: [ 109 constant pool: [
110 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
102 ] 111 ]
103 handlers: [ 112 handlers: [
104 ] 113 ]
105 114
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698