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

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

Issue 2310103002: [Interpreter] Remove constant pool type in tests (Closed)
Patch Set: Remove warning for pool type Created 4 years, 3 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 pool type: mixed
7 execute: yes 6 execute: yes
8 wrap: yes 7 wrap: yes
9 8
10 --- 9 ---
11 snippet: " 10 snippet: "
12 return function(){ } 11 return function(){ }
13 " 12 "
14 frame size: 0 13 frame size: 0
15 parameter count: 1 14 parameter count: 1
16 bytecode array length: 5 15 bytecode array length: 5
17 bytecodes: [ 16 bytecodes: [
18 /* 30 E> */ B(StackCheck), 17 /* 30 E> */ B(StackCheck),
19 /* 34 S> */ B(CreateClosure), U8(0), U8(2), 18 /* 34 S> */ B(CreateClosure), U8(0), U8(2),
20 /* 55 S> */ B(Return), 19 /* 55 S> */ B(Return),
21 ] 20 ]
22 constant pool: [ 21 constant pool: [
23 InstanceType::SHARED_FUNCTION_INFO_TYPE, 22 SHARED_FUNCTION_INFO_TYPE,
24 ] 23 ]
25 handlers: [ 24 handlers: [
26 ] 25 ]
27 26
28 --- 27 ---
29 snippet: " 28 snippet: "
30 return (function(){ })() 29 return (function(){ })()
31 " 30 "
32 frame size: 2 31 frame size: 2
33 parameter count: 1 32 parameter count: 1
34 bytecode array length: 14 33 bytecode array length: 14
35 bytecodes: [ 34 bytecodes: [
36 /* 30 E> */ B(StackCheck), 35 /* 30 E> */ B(StackCheck),
37 /* 34 S> */ B(LdrUndefined), R(1), 36 /* 34 S> */ B(LdrUndefined), R(1),
38 B(CreateClosure), U8(0), U8(2), 37 B(CreateClosure), U8(0), U8(2),
39 B(Star), R(0), 38 B(Star), R(0),
40 /* 56 E> */ B(Call), R(0), R(1), U8(1), U8(1), 39 /* 56 E> */ B(Call), R(0), R(1), U8(1), U8(1),
41 /* 59 S> */ B(Return), 40 /* 59 S> */ B(Return),
42 ] 41 ]
43 constant pool: [ 42 constant pool: [
44 InstanceType::SHARED_FUNCTION_INFO_TYPE, 43 SHARED_FUNCTION_INFO_TYPE,
45 ] 44 ]
46 handlers: [ 45 handlers: [
47 ] 46 ]
48 47
49 --- 48 ---
50 snippet: " 49 snippet: "
51 return (function(x){ return x; })(1) 50 return (function(x){ return x; })(1)
52 " 51 "
53 frame size: 3 52 frame size: 3
54 parameter count: 1 53 parameter count: 1
55 bytecode array length: 18 54 bytecode array length: 18
56 bytecodes: [ 55 bytecodes: [
57 /* 30 E> */ B(StackCheck), 56 /* 30 E> */ B(StackCheck),
58 /* 34 S> */ B(LdrUndefined), R(1), 57 /* 34 S> */ B(LdrUndefined), R(1),
59 B(CreateClosure), U8(0), U8(2), 58 B(CreateClosure), U8(0), U8(2),
60 B(Star), R(0), 59 B(Star), R(0),
61 B(LdaSmi), U8(1), 60 B(LdaSmi), U8(1),
62 B(Star), R(2), 61 B(Star), R(2),
63 /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(1), 62 /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(1),
64 /* 71 S> */ B(Return), 63 /* 71 S> */ B(Return),
65 ] 64 ]
66 constant pool: [ 65 constant pool: [
67 InstanceType::SHARED_FUNCTION_INFO_TYPE, 66 SHARED_FUNCTION_INFO_TYPE,
68 ] 67 ]
69 handlers: [ 68 handlers: [
70 ] 69 ]
71 70
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698