2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: yes
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
try { return 1; } catch(e) { return 2; }
|
|
|
|
"
|
2017-05-24 15:48:27 +00:00
|
|
|
frame size: 2
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2019-02-28 13:34:26 +00:00
|
|
|
bytecode array length: 23
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-24 15:48:27 +00:00
|
|
|
B(Mov), R(context), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 40 S> */ B(LdaSmi), I8(1),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 49 S> */ B(Return),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Star), R(1),
|
2018-05-04 09:29:20 +00:00
|
|
|
B(CreateCatchContext), R(1), U8(0),
|
2017-05-24 15:48:27 +00:00
|
|
|
B(Star), R(0),
|
2016-11-16 10:46:23 +00:00
|
|
|
B(LdaTheHole),
|
|
|
|
B(SetPendingMessage),
|
2017-05-24 15:48:27 +00:00
|
|
|
B(Ldar), R(0),
|
|
|
|
B(PushContext), R(1),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(2),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 72 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2018-02-16 12:36:47 +00:00
|
|
|
SCOPE_INFO_TYPE,
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
2019-02-28 13:34:26 +00:00
|
|
|
[4, 7, 7],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a;
|
|
|
|
try { a = 1 } catch(e1) {};
|
|
|
|
try { a = 2 } catch(e2) { a = 3 }
|
|
|
|
"
|
2017-05-24 15:48:27 +00:00
|
|
|
frame size: 3
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2018-05-04 09:29:20 +00:00
|
|
|
bytecode array length: 55
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
2017-05-24 15:48:27 +00:00
|
|
|
B(Mov), R(context), R(1),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 47 S> */ B(LdaSmi), I8(1),
|
2016-06-09 13:32:33 +00:00
|
|
|
B(Star), R(0),
|
2018-05-04 09:29:20 +00:00
|
|
|
B(Jump), U8(17),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Star), R(2),
|
2018-05-04 09:29:20 +00:00
|
|
|
/* 49 E> */ B(CreateCatchContext), R(2), U8(0),
|
2017-05-24 15:48:27 +00:00
|
|
|
B(Star), R(1),
|
2016-11-16 10:46:23 +00:00
|
|
|
B(LdaTheHole),
|
|
|
|
B(SetPendingMessage),
|
2017-05-24 15:48:27 +00:00
|
|
|
B(Ldar), R(1),
|
|
|
|
B(PushContext), R(2),
|
|
|
|
B(PopContext), R(2),
|
|
|
|
B(Mov), R(context), R(1),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 75 S> */ B(LdaSmi), I8(2),
|
2016-06-09 13:32:33 +00:00
|
|
|
B(Star), R(0),
|
2018-05-04 09:29:20 +00:00
|
|
|
B(Jump), U8(21),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Star), R(2),
|
2018-05-04 09:29:20 +00:00
|
|
|
/* 77 E> */ B(CreateCatchContext), R(2), U8(1),
|
2017-05-24 15:48:27 +00:00
|
|
|
B(Star), R(1),
|
2016-11-16 10:46:23 +00:00
|
|
|
B(LdaTheHole),
|
|
|
|
B(SetPendingMessage),
|
2017-05-24 15:48:27 +00:00
|
|
|
B(Ldar), R(1),
|
|
|
|
B(PushContext), R(2),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 95 S> */ B(LdaSmi), I8(3),
|
2016-06-09 13:32:33 +00:00
|
|
|
B(Star), R(0),
|
2017-05-24 15:48:27 +00:00
|
|
|
B(PopContext), R(2),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
/* 103 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2018-02-16 12:36:47 +00:00
|
|
|
SCOPE_INFO_TYPE,
|
|
|
|
SCOPE_INFO_TYPE,
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
[4, 8, 10],
|
2018-05-04 09:29:20 +00:00
|
|
|
[28, 32, 34],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
|