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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/Typeof.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: no
9 test function name: f
10
11 ---
12 snippet: "
13 function f() {
14 var x = 13;
15 return typeof(x);
16 };
17 f();
18 "
19 frame size: 1
20 parameter count: 1
21 bytecode array length: 7
22 bytecodes: [
23 B(StackCheck),
24 B(LdaSmi8), U8(13),
25 B(Star), R(0),
26 B(TypeOf),
27 B(Return),
28 ]
29 constant pool: [
30 ]
31 handlers: [
32 ]
33
34 ---
35 snippet: "
36 var x = 13;
37 function f() {
38 return typeof(x);
39 };
40 f();
41 "
42 frame size: 0
43 parameter count: 1
44 bytecode array length: 6
45 bytecodes: [
46 B(StackCheck),
47 B(LdaGlobalInsideTypeof), U8(0), U8(1),
48 B(TypeOf),
49 B(Return),
50 ]
51 constant pool: [
52 "x",
53 ]
54 handlers: [
55 ]
56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698