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

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

Issue 1997653002: [interpreter] Bytecode register optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Grammar. Created 4 years, 7 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 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 13 matching lines...) Expand all
24 ] 24 ]
25 handlers: [ 25 handlers: [
26 ] 26 ]
27 27
28 --- 28 ---
29 snippet: " 29 snippet: "
30 return (function(){ })() 30 return (function(){ })()
31 " 31 "
32 frame size: 2 32 frame size: 2
33 parameter count: 1 33 parameter count: 1
34 bytecode array length: 14 34 bytecode array length: 15
35 bytecodes: [ 35 bytecodes: [
36 /* 30 E> */ B(StackCheck), 36 /* 30 E> */ B(StackCheck),
37 /* 34 S> */ B(LdrUndefined), R(1), 37 /* 34 S> */ B(LdaUndefined),
38 B(Star), R(1),
38 B(CreateClosure), U8(0), U8(0), 39 B(CreateClosure), U8(0), U8(0),
39 B(Star), R(0), 40 B(Star), R(0),
40 /* 56 E> */ B(Call), R(0), R(1), U8(1), U8(1), 41 /* 56 E> */ B(Call), R(0), R(1), U8(1), U8(1),
41 /* 59 S> */ B(Return), 42 /* 59 S> */ B(Return),
42 ] 43 ]
43 constant pool: [ 44 constant pool: [
44 InstanceType::SHARED_FUNCTION_INFO_TYPE, 45 InstanceType::SHARED_FUNCTION_INFO_TYPE,
45 ] 46 ]
46 handlers: [ 47 handlers: [
47 ] 48 ]
48 49
49 --- 50 ---
50 snippet: " 51 snippet: "
51 return (function(x){ return x; })(1) 52 return (function(x){ return x; })(1)
52 " 53 "
53 frame size: 3 54 frame size: 3
54 parameter count: 1 55 parameter count: 1
55 bytecode array length: 18 56 bytecode array length: 19
56 bytecodes: [ 57 bytecodes: [
57 /* 30 E> */ B(StackCheck), 58 /* 30 E> */ B(StackCheck),
58 /* 34 S> */ B(LdrUndefined), R(1), 59 /* 34 S> */ B(LdaUndefined),
60 B(Star), R(1),
59 B(CreateClosure), U8(0), U8(0), 61 B(CreateClosure), U8(0), U8(0),
60 B(Star), R(0), 62 B(Star), R(0),
61 B(LdaSmi), U8(1), 63 B(LdaSmi), U8(1),
62 B(Star), R(2), 64 B(Star), R(2),
63 /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(1), 65 /* 67 E> */ B(Call), R(0), R(1), U8(2), U8(1),
64 /* 71 S> */ B(Return), 66 /* 71 S> */ B(Return),
65 ] 67 ]
66 constant pool: [ 68 constant pool: [
67 InstanceType::SHARED_FUNCTION_INFO_TYPE, 69 InstanceType::SHARED_FUNCTION_INFO_TYPE,
68 ] 70 ]
69 handlers: [ 71 handlers: [
70 ] 72 ]
71 73
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698