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

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

Issue 1998203002: [Interpreter] Preserve source positions in peephole optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nitlet on last patch set. 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: string 6 pool type: string
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 --- 45 ---
46 snippet: " 46 snippet: "
47 var a = 1; if (a) { throw 'Error'; }; 47 var a = 1; if (a) { throw 'Error'; };
48 " 48 "
49 frame size: 1 49 frame size: 1
50 parameter count: 1 50 parameter count: 1
51 bytecode array length: 12 51 bytecode array length: 12
52 bytecodes: [ 52 bytecodes: [
53 /* 30 E> */ B(StackCheck), 53 /* 30 E> */ B(StackCheck),
54 /* 42 S> */ B(LdaSmi), U8(1), 54 /* 42 S> */ B(LdaSmi), U8(1),
55 /* 42 E> */ B(Star), R(0), 55 B(Star), R(0),
56 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), 56 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5),
57 /* 54 S> */ B(LdaConstant), U8(0), 57 /* 54 S> */ B(LdaConstant), U8(0),
58 /* 54 E> */ B(Throw), 58 /* 54 E> */ B(Throw),
59 B(LdaUndefined), 59 B(LdaUndefined),
60 /* 72 S> */ B(Return), 60 /* 72 S> */ B(Return),
61 ] 61 ]
62 constant pool: [ 62 constant pool: [
63 "Error", 63 "Error",
64 ] 64 ]
65 handlers: [ 65 handlers: [
66 ] 66 ]
67 67
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698