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

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

Issue 1997653002: [interpreter] Bytecode register optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Grammar. Created 4 years, 6 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: no 8 wrap: no
9 test function name: f 9 test function name: f
10 10
(...skipping 14 matching lines...) Expand all
25 constant pool: [ 25 constant pool: [
26 ] 26 ]
27 handlers: [ 27 handlers: [
28 ] 28 ]
29 29
30 --- 30 ---
31 snippet: " 31 snippet: "
32 function f(a) { return %IsArray(a) } 32 function f(a) { return %IsArray(a) }
33 f(undefined); 33 f(undefined);
34 " 34 "
35 frame size: 1 35 frame size: 0
36 parameter count: 2 36 parameter count: 2
37 bytecode array length: 11 37 bytecode array length: 7
38 bytecodes: [ 38 bytecodes: [
39 /* 10 E> */ B(StackCheck), 39 /* 10 E> */ B(StackCheck),
40 /* 16 S> */ B(Ldar), R(arg0), 40 /* 16 S> */ B(CallRuntime), U16(Runtime::kIsArray), R(arg0), U8(1),
41 B(Star), R(0),
42 B(CallRuntime), U16(Runtime::kIsArray), R(0), U8(1),
43 /* 35 S> */ B(Return), 41 /* 35 S> */ B(Return),
44 ] 42 ]
45 constant pool: [ 43 constant pool: [
46 ] 44 ]
47 handlers: [ 45 handlers: [
48 ] 46 ]
49 47
50 --- 48 ---
51 snippet: " 49 snippet: "
52 function f() { return %Add(1, 2) } 50 function f() { return %Add(1, 2) }
(...skipping 16 matching lines...) Expand all
69 handlers: [ 67 handlers: [
70 ] 68 ]
71 69
72 --- 70 ---
73 snippet: " 71 snippet: "
74 function f() { return %spread_iterable([1]) } 72 function f() { return %spread_iterable([1]) }
75 f(); 73 f();
76 " 74 "
77 frame size: 2 75 frame size: 2
78 parameter count: 1 76 parameter count: 1
79 bytecode array length: 14 77 bytecode array length: 15
80 bytecodes: [ 78 bytecodes: [
81 /* 10 E> */ B(StackCheck), 79 /* 10 E> */ B(StackCheck),
82 /* 15 S> */ B(LdrUndefined), R(0), 80 /* 15 S> */ B(LdaUndefined),
81 B(Star), R(0),
83 B(CreateArrayLiteral), U8(0), U8(0), U8(3), 82 B(CreateArrayLiteral), U8(0), U8(0), U8(3),
84 B(Star), R(1), 83 B(Star), R(1),
85 B(CallJSRuntime), U8(122), R(0), U8(2), 84 B(CallJSRuntime), U8(122), R(0), U8(2),
86 /* 44 S> */ B(Return), 85 /* 44 S> */ B(Return),
87 ] 86 ]
88 constant pool: [ 87 constant pool: [
89 InstanceType::FIXED_ARRAY_TYPE, 88 InstanceType::FIXED_ARRAY_TYPE,
90 ] 89 ]
91 handlers: [ 90 handlers: [
92 ] 91 ]
93 92
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698