diff options
Diffstat (limited to 'deps/v8/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden')
-rw-r--r-- | deps/v8/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/deps/v8/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden b/deps/v8/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden index fb74600241..f07e5ce4d7 100644 --- a/deps/v8/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden +++ b/deps/v8/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden @@ -15,15 +15,15 @@ snippet: " " frame size: 1 parameter count: 2 -bytecode array length: 17 +bytecode array length: 14 bytecodes: [ - B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), - B(PushContext), R(0), - B(Ldar), R(arg0), - B(StaContextSlot), R(context), U8(4), - B(StackCheck), - B(CreateClosure), U8(0), U8(0), - B(Return), + B(CreateFunctionContext), U8(1), + B(PushContext), R(0), + B(Ldar), R(arg0), + B(StaContextSlot), R(context), U8(4), + /* 10 E> */ B(StackCheck), + /* 19 S> */ B(CreateClosure), U8(0), U8(2), + /* 52 S> */ B(Return), ] constant pool: [ InstanceType::SHARED_FUNCTION_INFO_TYPE, @@ -38,17 +38,17 @@ snippet: " " frame size: 2 parameter count: 2 -bytecode array length: 22 +bytecode array length: 19 bytecodes: [ - B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), - B(PushContext), R(1), - B(Ldar), R(arg0), - B(StaContextSlot), R(context), U8(4), - B(StackCheck), - B(CreateClosure), U8(0), U8(0), - B(Star), R(0), - B(LdaContextSlot), R(context), U8(4), - B(Return), + B(CreateFunctionContext), U8(1), + B(PushContext), R(1), + B(Ldar), R(arg0), + B(StaContextSlot), R(context), U8(4), + /* 10 E> */ B(StackCheck), + /* 27 S> */ B(CreateClosure), U8(0), U8(2), + B(Star), R(0), + /* 53 S> */ B(LdaContextSlot), R(context), U8(4), + /* 66 S> */ B(Return), ] constant pool: [ InstanceType::SHARED_FUNCTION_INFO_TYPE, @@ -63,17 +63,17 @@ snippet: " " frame size: 1 parameter count: 5 -bytecode array length: 22 +bytecode array length: 19 bytecodes: [ - B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), - B(PushContext), R(0), - B(Ldar), R(arg0), - B(StaContextSlot), R(context), U8(5), - B(Ldar), R(arg2), - B(StaContextSlot), R(context), U8(4), - B(StackCheck), - B(CreateClosure), U8(0), U8(0), - B(Return), + B(CreateFunctionContext), U8(2), + B(PushContext), R(0), + B(Ldar), R(arg0), + B(StaContextSlot), R(context), U8(5), + B(Ldar), R(arg2), + B(StaContextSlot), R(context), U8(4), + /* 10 E> */ B(StackCheck), + /* 29 S> */ B(CreateClosure), U8(0), U8(2), + /* 61 S> */ B(Return), ] constant pool: [ InstanceType::SHARED_FUNCTION_INFO_TYPE, @@ -88,15 +88,15 @@ snippet: " " frame size: 1 parameter count: 1 -bytecode array length: 17 +bytecode array length: 14 bytecodes: [ - B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), - B(PushContext), R(0), - B(StackCheck), - B(Ldar), R(this), - B(StaContextSlot), R(context), U8(4), - B(CreateClosure), U8(0), U8(0), - B(Return), + 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), + /* 32 S> */ B(CreateClosure), U8(0), U8(2), + /* 65 S> */ B(Return), ] constant pool: [ InstanceType::SHARED_FUNCTION_INFO_TYPE, |