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

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

Issue 1717293002: [Interpreter] Refactor bytecode generator test suite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reflow REPEAT_249 macro. Created 4 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
(Empty)
1 #
2 # Autogenerated by generate-bytecode-expectations.
3 #
4
5 ---
6 pool type: string
7 execute: yes
8 wrap: yes
9
10 ---
11 snippet: "
12 throw 1;
13 "
14 frame size: 0
15 parameter count: 1
16 bytecode array length: 4
17 bytecodes: [
18 B(StackCheck),
19 B(LdaSmi8), U8(1),
20 B(Throw),
21 ]
22 constant pool: [
23 ]
24 handlers: [
25 ]
26
27 ---
28 snippet: "
29 throw 'Error';
30 "
31 frame size: 0
32 parameter count: 1
33 bytecode array length: 4
34 bytecodes: [
35 B(StackCheck),
36 B(LdaConstant), U8(0),
37 B(Throw),
38 ]
39 constant pool: [
40 "Error",
41 ]
42 handlers: [
43 ]
44
45 ---
46 snippet: "
47 var a = 1; if (a) { throw 'Error'; };
48 "
49 frame size: 1
50 parameter count: 1
51 bytecode array length: 12
52 bytecodes: [
53 B(StackCheck),
54 B(LdaSmi8), U8(1),
55 B(Star), R(0),
56 B(JumpIfToBooleanFalse), U8(5),
57 B(LdaConstant), U8(0),
58 B(Throw),
59 B(LdaUndefined),
60 B(Return),
61 ]
62 constant pool: [
63 "Error",
64 ]
65 handlers: [
66 ]
67
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698