blob: 1fe9354b6f61a8e6800ad2d9c6b91c7fe2c17b8f [file] [log] [blame]
Ben Murdochda12d292016-06-02 14:46:10 +01001#
2# Autogenerated by generate-bytecode-expectations.
3#
4
5---
6pool type: string
7execute: yes
8wrap: no
9test function name: f
10
11---
12snippet: "
13 function f() {
14 var x = 13;
15 return typeof(x);
16 };
17 f();
18"
19frame size: 1
20parameter count: 1
21bytecode array length: 7
22bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010023 /* 10 E> */ B(StackCheck),
24 /* 24 S> */ B(LdaSmi), U8(13),
Ben Murdoch61f157c2016-09-16 13:49:30 +010025 B(Star), R(0),
Ben Murdochc5610432016-08-08 18:44:38 +010026 /* 29 S> */ B(TypeOf),
27 /* 47 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010028]
29constant pool: [
30]
31handlers: [
32]
33
34---
35snippet: "
36 var x = 13;
37 function f() {
38 return typeof(x);
39 };
40 f();
41"
42frame size: 0
43parameter count: 1
Ben Murdoch61f157c2016-09-16 13:49:30 +010044bytecode array length: 5
Ben Murdochda12d292016-06-02 14:46:10 +010045bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010046 /* 22 E> */ B(StackCheck),
Ben Murdoch61f157c2016-09-16 13:49:30 +010047 /* 28 S> */ B(LdaGlobalInsideTypeof), U8(1),
Ben Murdochc5610432016-08-08 18:44:38 +010048 B(TypeOf),
49 /* 46 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010050]
51constant pool: [
Ben Murdochda12d292016-06-02 14:46:10 +010052]
53handlers: [
54]
55