| Index: test/cctest/interpreter/bytecode_expectations/ContextParameters.golden
|
| diff --git a/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden b/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden
|
| index e378b2a66aa6b3b88996b9a770e1bee2ea803e50..eaecd4343de26109cede2ce3743717126f259791 100644
|
| --- a/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden
|
| +++ b/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden
|
| @@ -14,12 +14,12 @@ snippet: "
|
| "
|
| frame size: 1
|
| parameter count: 2
|
| -bytecode array length: 14
|
| +bytecode array length: 15
|
| bytecodes: [
|
| B(CreateFunctionContext), U8(1),
|
| B(PushContext), R(0),
|
| B(Ldar), R(arg0),
|
| - B(StaContextSlot), R(context), U8(4),
|
| + B(StaContextSlot), R(context), U8(4), U8(0),
|
| /* 10 E> */ B(StackCheck),
|
| /* 19 S> */ B(CreateClosure), U8(0), U8(2),
|
| /* 52 S> */ B(Return),
|
| @@ -37,16 +37,16 @@ snippet: "
|
| "
|
| frame size: 2
|
| parameter count: 2
|
| -bytecode array length: 19
|
| +bytecode array length: 21
|
| bytecodes: [
|
| B(CreateFunctionContext), U8(1),
|
| B(PushContext), R(1),
|
| B(Ldar), R(arg0),
|
| - B(StaContextSlot), R(context), U8(4),
|
| + B(StaContextSlot), R(context), U8(4), U8(0),
|
| /* 10 E> */ B(StackCheck),
|
| /* 27 S> */ B(CreateClosure), U8(0), U8(2),
|
| B(Star), R(0),
|
| - /* 53 S> */ B(LdaContextSlot), R(context), U8(4),
|
| + /* 53 S> */ B(LdaContextSlot), R(context), U8(4), U8(0),
|
| /* 66 S> */ B(Return),
|
| ]
|
| constant pool: [
|
| @@ -62,14 +62,14 @@ snippet: "
|
| "
|
| frame size: 1
|
| parameter count: 5
|
| -bytecode array length: 19
|
| +bytecode array length: 21
|
| bytecodes: [
|
| B(CreateFunctionContext), U8(2),
|
| B(PushContext), R(0),
|
| B(Ldar), R(arg0),
|
| - B(StaContextSlot), R(context), U8(5),
|
| + B(StaContextSlot), R(context), U8(5), U8(0),
|
| B(Ldar), R(arg2),
|
| - B(StaContextSlot), R(context), U8(4),
|
| + B(StaContextSlot), R(context), U8(4), U8(0),
|
| /* 10 E> */ B(StackCheck),
|
| /* 29 S> */ B(CreateClosure), U8(0), U8(2),
|
| /* 61 S> */ B(Return),
|
| @@ -87,13 +87,13 @@ snippet: "
|
| "
|
| frame size: 1
|
| parameter count: 1
|
| -bytecode array length: 14
|
| +bytecode array length: 15
|
| bytecodes: [
|
| B(CreateFunctionContext), U8(1),
|
| B(PushContext), R(0),
|
| /* 10 E> */ B(StackCheck),
|
| /* 26 S> */ B(Ldar), R(this),
|
| - /* 26 E> */ B(StaContextSlot), R(context), U8(4),
|
| + /* 26 E> */ B(StaContextSlot), R(context), U8(4), U8(0),
|
| /* 32 S> */ B(CreateClosure), U8(0), U8(2),
|
| /* 65 S> */ B(Return),
|
| ]
|
|
|