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

Side by Side Diff: test/cctest/interpreter/GlobalCompoundExpressions.golden

Issue 1717293002: [Interpreter] Refactor bytecode generator test suite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: std::vector instead of initializer_list, golden path as constant. 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: no
9 test function name: f
10
11 ---
12 snippet: "
13 var global = 1;
14 function f() { return global &= 1; }
15 f()
16 "
17 frame size: 1 # in multiples of sizeof(void*)
18 parameter count: 1
19 bytecodes: [
20 B(StackCheck),
21 B(LdaGlobal), U8(0), U8(1),
22 B(Star), R(0),
23 B(LdaSmi8), U8(1),
24 B(BitwiseAnd), R(0),
25 B(StaGlobalSloppy), U8(0), U8(3),
26 B(Return),
27 ]
28 constant pool: [
29 "global",
30 ]
31 handlers: [
32 ]
33
34 ---
35 snippet: "
36 unallocated = 1;
37 function f() { return unallocated += 1; }
38 f()
39 "
40 frame size: 1 # in multiples of sizeof(void*)
41 parameter count: 1
42 bytecodes: [
43 B(StackCheck),
44 B(LdaGlobal), U8(0), U8(1),
45 B(Star), R(0),
46 B(LdaSmi8), U8(1),
47 B(Add), R(0),
48 B(StaGlobalSloppy), U8(0), U8(3),
49 B(Return),
50 ]
51 constant pool: [
52 "unallocated",
53 ]
54 handlers: [
55 ]
56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698