| Index: test/cctest/interpreter/bytecode_expectations/TryCatch.golden
|
| diff --git a/test/cctest/interpreter/bytecode_expectations/TryCatch.golden b/test/cctest/interpreter/bytecode_expectations/TryCatch.golden
|
| index 93f906c287303d64afc1647fd45c4d2635c227d1..af40d016108c32342424c795f74ff07801ec8ba6 100644
|
| --- a/test/cctest/interpreter/bytecode_expectations/TryCatch.golden
|
| +++ b/test/cctest/interpreter/bytecode_expectations/TryCatch.golden
|
| @@ -48,16 +48,18 @@ snippet: "
|
| "
|
| frame size: 4
|
| parameter count: 1
|
| -bytecode array length: 61
|
| +bytecode array length: 73
|
| bytecodes: [
|
| /* 30 E> */ B(StackCheck),
|
| B(Mov), R(context), R(2),
|
| - /* 47 S> */ B(LdaSmi), I8(1),
|
| + /* 47 S> */ B(LdaConstant), U8(0),
|
| + B(Star), R(3),
|
| + B(LdaSmi), I8(1),
|
| B(Star), R(0),
|
| B(Jump), U8(20),
|
| B(Star), R(3),
|
| B(Ldar), R(closure),
|
| - /* 49 E> */ B(CreateCatchContext), R(3), U8(0), U8(1),
|
| + /* 49 E> */ B(CreateCatchContext), R(3), U8(1), U8(2),
|
| B(Star), R(2),
|
| B(LdaTheHole),
|
| B(SetPendingMessage),
|
| @@ -65,31 +67,36 @@ bytecodes: [
|
| B(PushContext), R(1),
|
| B(PopContext), R(1),
|
| B(Mov), R(context), R(2),
|
| - /* 75 S> */ B(LdaSmi), I8(2),
|
| + /* 75 S> */ B(LdaConstant), U8(0),
|
| + B(Star), R(3),
|
| + B(LdaSmi), I8(2),
|
| B(Star), R(0),
|
| - B(Jump), U8(24),
|
| + B(Jump), U8(28),
|
| B(Star), R(3),
|
| B(Ldar), R(closure),
|
| - /* 77 E> */ B(CreateCatchContext), R(3), U8(2), U8(3),
|
| + /* 77 E> */ B(CreateCatchContext), R(3), U8(3), U8(4),
|
| B(Star), R(2),
|
| B(LdaTheHole),
|
| B(SetPendingMessage),
|
| B(Ldar), R(2),
|
| B(PushContext), R(1),
|
| - /* 95 S> */ B(LdaSmi), I8(3),
|
| + /* 95 S> */ B(LdaConstant), U8(0),
|
| + B(Star), R(3),
|
| + B(LdaSmi), I8(3),
|
| B(Star), R(0),
|
| B(PopContext), R(1),
|
| B(LdaUndefined),
|
| /* 103 S> */ B(Return),
|
| ]
|
| constant pool: [
|
| + ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
|
| ONE_BYTE_INTERNALIZED_STRING_TYPE ["e1"],
|
| FIXED_ARRAY_TYPE,
|
| ONE_BYTE_INTERNALIZED_STRING_TYPE ["e2"],
|
| FIXED_ARRAY_TYPE,
|
| ]
|
| handlers: [
|
| - [4, 8, 10],
|
| - [31, 35, 37],
|
| + [4, 12, 14],
|
| + [35, 43, 45],
|
| ]
|
|
|
|
|