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

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

Issue 2030583002: [Interpreter] Don't try to eliminate dead-code in bytecode-array-builder (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Test 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: string 6 pool type: string
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 throw 1; 12 throw 1;
13 " 13 "
14 frame size: 0 14 frame size: 0
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 4 16 bytecode array length: 6
17 bytecodes: [ 17 bytecodes: [
18 /* 30 E> */ B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 /* 34 S> */ B(LdaSmi), U8(1), 19 /* 34 S> */ B(LdaSmi), U8(1),
20 /* 34 E> */ B(Throw), 20 /* 34 E> */ B(Throw),
21 B(LdaUndefined),
22 /* 43 S> */ B(Return),
21 ] 23 ]
22 constant pool: [ 24 constant pool: [
23 ] 25 ]
24 handlers: [ 26 handlers: [
25 ] 27 ]
26 28
27 --- 29 ---
28 snippet: " 30 snippet: "
29 throw 'Error'; 31 throw 'Error';
30 " 32 "
31 frame size: 0 33 frame size: 0
32 parameter count: 1 34 parameter count: 1
33 bytecode array length: 4 35 bytecode array length: 6
34 bytecodes: [ 36 bytecodes: [
35 /* 30 E> */ B(StackCheck), 37 /* 30 E> */ B(StackCheck),
36 /* 34 S> */ B(LdaConstant), U8(0), 38 /* 34 S> */ B(LdaConstant), U8(0),
37 /* 34 E> */ B(Throw), 39 /* 34 E> */ B(Throw),
40 B(LdaUndefined),
41 /* 49 S> */ B(Return),
38 ] 42 ]
39 constant pool: [ 43 constant pool: [
40 "Error", 44 "Error",
41 ] 45 ]
42 handlers: [ 46 handlers: [
43 ] 47 ]
44 48
45 --- 49 ---
46 snippet: " 50 snippet: "
47 var a = 1; if (a) { throw 'Error'; }; 51 var a = 1; if (a) { throw 'Error'; };
(...skipping 10 matching lines...) Expand all
58 /* 54 E> */ B(Throw), 62 /* 54 E> */ B(Throw),
59 B(LdaUndefined), 63 B(LdaUndefined),
60 /* 72 S> */ B(Return), 64 /* 72 S> */ B(Return),
61 ] 65 ]
62 constant pool: [ 66 constant pool: [
63 "Error", 67 "Error",
64 ] 68 ]
65 handlers: [ 69 handlers: [
66 ] 70 ]
67 71
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698