Index: test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden b/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden |
index de0db058e96fd35392831c241d5a2d1321ed1981..3ec35b7565b07e1be8ae802b2fcf67882eed8890 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden |
@@ -54,8 +54,8 @@ bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), I8(1), |
B(Star), R(0), |
- /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(2), U8(1), R(1), |
- /* 75 E> */ B(StaNamedOwnProperty), R(1), U8(1), U8(3), |
+ /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(4), U8(1), R(1), |
+ /* 75 E> */ B(StaNamedOwnProperty), R(1), U8(1), U8(5), |
B(Ldar), R(1), |
/* 80 S> */ B(Return), |
] |
@@ -77,9 +77,9 @@ bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), I8(1), |
B(Star), R(0), |
- /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(3), U8(1), R(1), |
- /* 69 E> */ B(AddSmi), I8(1), R(0), U8(2), |
- B(StaNamedOwnProperty), R(1), U8(1), U8(4), |
+ /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(5), U8(1), R(1), |
+ /* 69 E> */ B(AddSmi), I8(1), R(0), U8(4), |
+ B(StaNamedOwnProperty), R(1), U8(1), U8(6), |
B(Ldar), R(1), |
/* 76 S> */ B(Return), |
] |
@@ -241,7 +241,7 @@ bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaSmi), I8(1), |
B(Star), R(0), |
- /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(2), U8(1), R(1), |
+ /* 45 S> */ B(CreateObjectLiteral), U8(0), U8(4), U8(1), R(1), |
B(LdaSmi), I8(1), |
B(Star), R(3), |
B(LdaZero), |
@@ -292,11 +292,11 @@ bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
B(Star), R(0), |
- /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(2), U8(35), R(1), |
+ /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(4), U8(35), R(1), |
/* 60 E> */ B(ToName), R(2), |
B(LdaSmi), I8(1), |
B(Star), R(3), |
- B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(3), |
+ B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(5), |
B(Ldar), R(1), |
/* 69 S> */ B(Return), |
] |
@@ -318,12 +318,12 @@ bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
B(Star), R(0), |
- /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(2), U8(1), R(1), |
- /* 64 E> */ B(StaNamedOwnProperty), R(1), U8(2), U8(3), |
+ /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(4), U8(1), R(1), |
+ /* 64 E> */ B(StaNamedOwnProperty), R(1), U8(2), U8(5), |
/* 68 E> */ B(ToName), R(2), |
B(LdaSmi), I8(1), |
B(Star), R(3), |
- B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(5), |
+ B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(7), |
B(Ldar), R(1), |
/* 77 S> */ B(Return), |
] |
@@ -346,12 +346,12 @@ bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
B(Star), R(0), |
- /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(3), U8(35), R(1), |
+ /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(5), U8(35), R(1), |
/* 60 E> */ B(ToName), R(2), |
B(LdaSmi), I8(1), |
B(Star), R(3), |
- B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(4), |
- B(CreateObjectLiteral), U8(1), U8(2), U8(35), R(4), |
+ B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(6), |
+ B(CreateObjectLiteral), U8(1), U8(4), U8(35), R(4), |
B(Mov), R(1), R(2), |
B(Mov), R(4), R(3), |
B(CallRuntime), U16(Runtime::kInternalSetPrototype), R(2), U8(2), |
@@ -376,14 +376,14 @@ bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
B(Star), R(0), |
- /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(4), U8(35), R(1), |
+ /* 50 S> */ B(CreateObjectLiteral), U8(1), U8(6), U8(35), R(1), |
/* 60 E> */ B(ToName), R(2), |
B(LdaConstant), U8(2), |
B(Star), R(3), |
- B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(5), |
+ B(StaDataPropertyInLiteral), R(1), R(2), U8(0), U8(7), |
B(LdaConstant), U8(3), |
B(ToName), R(3), |
- B(CreateClosure), U8(4), U8(2), U8(2), |
+ B(CreateClosure), U8(4), U8(4), U8(2), |
B(Star), R(4), |
B(LdaZero), |
B(Star), R(5), |
@@ -391,7 +391,7 @@ bytecodes: [ |
B(CallRuntime), U16(Runtime::kDefineGetterPropertyUnchecked), R(2), U8(4), |
B(LdaConstant), U8(3), |
B(ToName), R(3), |
- B(CreateClosure), U8(5), U8(3), U8(2), |
+ B(CreateClosure), U8(5), U8(5), U8(2), |
B(Star), R(4), |
B(LdaZero), |
B(Star), R(5), |