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

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

Issue 1947403002: [interpreter] Introduce bytecode generation pipeline. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Incorporate review comments. 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 do expressions: yes 9 do expressions: yes
10 10
11 --- 11 ---
12 snippet: " 12 snippet: "
13 var a = do { }; return a; 13 var a = do { }; return a;
14 " 14 "
15 frame size: 2 15 frame size: 2
16 parameter count: 1 16 parameter count: 1
17 bytecode array length: 6 17 bytecode array length: 7
18 bytecodes: [ 18 bytecodes: [
19 B(StackCheck), 19 B(StackCheck),
20 B(Ldar), R(0), 20 B(Ldar), R(0),
21 B(Star), R(1), 21 B(Star), R(1),
22 B(Nop),
22 B(Return), 23 B(Return),
23 ] 24 ]
24 constant pool: [ 25 constant pool: [
25 ] 26 ]
26 handlers: [ 27 handlers: [
27 ] 28 ]
28 29
29 --- 30 ---
30 snippet: " 31 snippet: "
31 var a = do { var x = 100; }; return a; 32 var a = do { var x = 100; }; return a;
32 " 33 "
33 frame size: 3 34 frame size: 3
34 parameter count: 1 35 parameter count: 1
35 bytecode array length: 11 36 bytecode array length: 12
36 bytecodes: [ 37 bytecodes: [
37 B(StackCheck), 38 B(StackCheck),
38 B(LdaSmi), U8(100), 39 B(LdaSmi), U8(100),
39 B(Star), R(1), 40 B(Star), R(1),
40 B(LdaUndefined), 41 B(LdaUndefined),
41 B(Star), R(0), 42 B(Star), R(0),
42 B(Star), R(2), 43 B(Star), R(2),
44 B(Nop),
43 B(Return), 45 B(Return),
44 ] 46 ]
45 constant pool: [ 47 constant pool: [
46 ] 48 ]
47 handlers: [ 49 handlers: [
48 ] 50 ]
49 51
50 --- 52 ---
51 snippet: " 53 snippet: "
52 while(true) { var a = 10; a = do { ++a; break; }; a = 20; } 54 while(true) { var a = 10; a = do { ++a; break; }; a = 20; }
(...skipping 16 matching lines...) Expand all
69 B(Star), R(1), 71 B(Star), R(1),
70 B(Jump), U8(-20), 72 B(Jump), U8(-20),
71 B(LdaUndefined), 73 B(LdaUndefined),
72 B(Return), 74 B(Return),
73 ] 75 ]
74 constant pool: [ 76 constant pool: [
75 ] 77 ]
76 handlers: [ 78 handlers: [
77 ] 79 ]
78 80
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698