blob: 398b857c1f782474f5387e4963d4d23d069adca7 [file] [log] [blame]
Ben Murdochda12d292016-06-02 14:46:10 +01001#
2# Autogenerated by generate-bytecode-expectations.
3#
4
5---
6pool type: mixed
7execute: yes
8wrap: yes
9
10---
11snippet: "
12 return new.target;
13"
14frame size: 2
15parameter count: 1
Ben Murdoch61f157c2016-09-16 13:49:30 +010016bytecode array length: 18
Ben Murdochda12d292016-06-02 14:46:10 +010017bytecodes: [
Ben Murdoch61f157c2016-09-16 13:49:30 +010018 B(Mov), R(new_target), R(0),
Ben Murdochc5610432016-08-08 18:44:38 +010019 /* 30 E> */ B(StackCheck),
Ben Murdoch61f157c2016-09-16 13:49:30 +010020 /* 34 S> */ B(Ldar), R(new_target),
Ben Murdochc5610432016-08-08 18:44:38 +010021 B(JumpIfNotHole), U8(11),
22 B(LdaConstant), U8(0),
23 B(Star), R(1),
24 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1),
25 /* 53 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010026]
27constant pool: [
28 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
29]
30handlers: [
31]
32
33---
34snippet: "
35 new.target;
36"
37frame size: 2
38parameter count: 1
Ben Murdoch61f157c2016-09-16 13:49:30 +010039bytecode array length: 19
Ben Murdochda12d292016-06-02 14:46:10 +010040bytecodes: [
Ben Murdoch61f157c2016-09-16 13:49:30 +010041 B(Mov), R(new_target), R(0),
Ben Murdochc5610432016-08-08 18:44:38 +010042 /* 30 E> */ B(StackCheck),
Ben Murdoch61f157c2016-09-16 13:49:30 +010043 /* 34 S> */ B(Ldar), R(new_target),
Ben Murdochc5610432016-08-08 18:44:38 +010044 B(JumpIfNotHole), U8(11),
45 B(LdaConstant), U8(0),
46 B(Star), R(1),
47 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1),
48 B(LdaUndefined),
49 /* 46 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010050]
51constant pool: [
52 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
53]
54handlers: [
55]
56