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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/DeadCodeRemoval.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: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 return; var a = 1; a(); 10 return; var a = 1; a();
11 " 11 "
12 frame size: 1 12 frame size: 1
13 parameter count: 1 13 parameter count: 1
14 bytecode array length: 3 14 bytecode array length: 3
15 bytecodes: [ 15 bytecodes: [
16 /* 30 E> */ B(StackCheck), 16 /* 30 E> */ B(StackCheck),
17 /* 34 S> */ B(LdaUndefined), 17 /* 34 S> */ B(LdaUndefined),
18 /* 58 S> */ B(Return), 18 /* 58 S> */ B(Return),
19 ] 19 ]
20 constant pool: [ 20 constant pool: [
21 ] 21 ]
22 handlers: [ 22 handlers: [
23 ] 23 ]
24 24
25 --- 25 ---
26 snippet: " 26 snippet: "
27 if (false) { return; }; var a = 1; 27 if (false) { return; }; var a = 1;
28 " 28 "
29 frame size: 1 29 frame size: 2
30 parameter count: 1 30 parameter count: 1
31 bytecode array length: 7 31 bytecode array length: 11
32 bytecodes: [ 32 bytecodes: [
33 /* 30 E> */ B(StackCheck), 33 /* 30 E> */ B(StackCheck),
34 /* 66 S> */ B(LdaSmi), I8(1), 34 /* 66 S> */ B(LdaConstant), U8(0),
35 B(Star), R(1),
36 B(LdaSmi), I8(1),
35 B(Star), R(0), 37 B(Star), R(0),
36 B(LdaUndefined), 38 B(LdaUndefined),
37 /* 69 S> */ B(Return), 39 /* 69 S> */ B(Return),
38 ] 40 ]
39 constant pool: [ 41 constant pool: [
42 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
40 ] 43 ]
41 handlers: [ 44 handlers: [
42 ] 45 ]
43 46
44 --- 47 ---
45 snippet: " 48 snippet: "
46 if (true) { return 1; } else { return 2; }; 49 if (true) { return 1; } else { return 2; };
47 " 50 "
48 frame size: 0 51 frame size: 0
49 parameter count: 1 52 parameter count: 1
50 bytecode array length: 4 53 bytecode array length: 4
51 bytecodes: [ 54 bytecodes: [
52 /* 30 E> */ B(StackCheck), 55 /* 30 E> */ B(StackCheck),
53 /* 46 S> */ B(LdaSmi), I8(1), 56 /* 46 S> */ B(LdaSmi), I8(1),
54 /* 78 S> */ B(Return), 57 /* 78 S> */ B(Return),
55 ] 58 ]
56 constant pool: [ 59 constant pool: [
57 ] 60 ]
58 handlers: [ 61 handlers: [
59 ] 62 ]
60 63
61 --- 64 ---
62 snippet: " 65 snippet: "
63 var a = 1; if (a) { return 1; }; return 2; 66 var a = 1; if (a) { return 1; }; return 2;
64 " 67 "
65 frame size: 1 68 frame size: 2
66 parameter count: 1 69 parameter count: 1
67 bytecode array length: 13 70 bytecode array length: 17
68 bytecodes: [ 71 bytecodes: [
69 /* 30 E> */ B(StackCheck), 72 /* 30 E> */ B(StackCheck),
70 /* 42 S> */ B(LdaSmi), I8(1), 73 /* 42 S> */ B(LdaConstant), U8(0),
74 B(Star), R(1),
75 B(LdaSmi), I8(1),
71 B(Star), R(0), 76 B(Star), R(0),
72 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), 77 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5),
73 /* 54 S> */ B(LdaSmi), I8(1), 78 /* 54 S> */ B(LdaSmi), I8(1),
74 /* 77 S> */ B(Return), 79 /* 77 S> */ B(Return),
75 /* 67 S> */ B(LdaSmi), I8(2), 80 /* 67 S> */ B(LdaSmi), I8(2),
76 /* 77 S> */ B(Return), 81 /* 77 S> */ B(Return),
77 ] 82 ]
78 constant pool: [ 83 constant pool: [
84 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
79 ] 85 ]
80 handlers: [ 86 handlers: [
81 ] 87 ]
82 88
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698