blob: 6dfdf9567163d1a5eaae5992b030d07d54569c16 [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: yes
9
10---
11snippet: "
12 return eval('1;');
13"
Ben Murdochc5610432016-08-08 18:44:38 +010014frame size: 10
Ben Murdochda12d292016-06-02 14:46:10 +010015parameter count: 1
Ben Murdochc5610432016-08-08 18:44:38 +010016bytecode array length: 69
Ben Murdochda12d292016-06-02 14:46:10 +010017bytecodes: [
Ben Murdochc5610432016-08-08 18:44:38 +010018 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
19 B(PushContext), R(0),
20 B(Ldar), R(this),
21 B(StaContextSlot), R(context), U8(4),
22 B(CreateMappedArguments),
23 B(StaContextSlot), R(context), U8(5),
24 B(Ldar), R(new_target),
25 B(StaContextSlot), R(context), U8(6),
26 /* 30 E> */ B(StackCheck),
27 /* 34 S> */ B(LdaConstant), U8(0),
28 B(Star), R(3),
29 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3), U8(1), R(1),
30 B(LdaConstant), U8(1),
31 B(Star), R(3),
Ben Murdochc5610432016-08-08 18:44:38 +010032 B(LdaZero),
33 B(Star), R(7),
34 B(LdaSmi), U8(30),
35 B(Star), R(8),
36 B(LdaSmi), U8(41),
37 B(Star), R(9),
Ben Murdoch61f157c2016-09-16 13:49:30 +010038 B(Mov), R(1), R(4),
39 B(Mov), R(3), R(5),
40 B(Mov), R(closure), R(6),
Ben Murdochc5610432016-08-08 18:44:38 +010041 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
42 B(Star), R(1),
43 /* 41 E> */ B(Call), R(1), R(2), U8(2), U8(0),
44 /* 53 S> */ B(Return),
Ben Murdochda12d292016-06-02 14:46:10 +010045]
46constant pool: [
47 "eval",
48 "1;",
49]
50handlers: [
51]
52