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

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

Issue 2489513005: [Interpreter] Remove all Ldr style bytecodes and replace with Star lookahead. (Closed)
Patch Set: Created 4 years, 1 month 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: 14 32 bytecode array length: 15
33 bytecodes: [ 33 bytecodes: [
34 /* 30 E> */ B(StackCheck), 34 /* 30 E> */ B(StackCheck),
35 /* 34 S> */ B(LdrUndefined), R(1), 35 /* 34 S> */ B(LdaUndefined),
36 B(Star), R(1),
36 B(CreateClosure), U8(0), U8(2), 37 B(CreateClosure), U8(0), U8(2),
37 B(Star), R(0), 38 B(Star), R(0),
38 /* 56 E> */ B(Call), R(0), R(1), U8(1), U8(2), 39 /* 56 E> */ B(Call), R(0), R(1), U8(1), U8(2),
39 /* 59 S> */ B(Return), 40 /* 59 S> */ B(Return),
40 ] 41 ]
41 constant pool: [ 42 constant pool: [
42 SHARED_FUNCTION_INFO_TYPE, 43 SHARED_FUNCTION_INFO_TYPE,
43 ] 44 ]
44 handlers: [ 45 handlers: [
45 ] 46 ]
46 47
47 --- 48 ---
48 snippet: " 49 snippet: "
49 return (function(x){ return x; })(1) 50 return (function(x){ return x; })(1)
50 " 51 "
51 frame size: 3 52 frame size: 3
52 parameter count: 1 53 parameter count: 1
53 bytecode array length: 18 54 bytecode array length: 19
54 bytecodes: [ 55 bytecodes: [
55 /* 30 E> */ B(StackCheck), 56 /* 30 E> */ B(StackCheck),
56 /* 34 S> */ B(LdrUndefined), R(1), 57 /* 34 S> */ B(LdaUndefined),
58 B(Star), R(1),
57 B(CreateClosure), U8(0), U8(2), 59 B(CreateClosure), U8(0), U8(2),
58 B(Star), R(0), 60 B(Star), R(0),
59 B(LdaSmi), U8(1), 61 B(LdaSmi), U8(1),
60 B(Star), R(2), 62 B(Star), R(2),
61 /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(2), 63 /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(2),
62 /* 71 S> */ B(Return), 64 /* 71 S> */ B(Return),
63 ] 65 ]
64 constant pool: [ 66 constant pool: [
65 SHARED_FUNCTION_INFO_TYPE, 67 SHARED_FUNCTION_INFO_TYPE,
66 ] 68 ]
67 handlers: [ 69 handlers: [
68 ] 70 ]
69 71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698