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 7f81d82a2d3474b81e7884efc6bfe64994345838..bb92183340628d089fe418931c006965a943929e 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden |
@@ -287,7 +287,7 @@ snippet: " |
" |
frame size: 7 |
parameter count: 1 |
-bytecode array length: 33 |
+bytecode array length: 32 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
@@ -300,9 +300,9 @@ bytecodes: [ |
B(Star), R(5), |
B(LdaZero), |
B(Star), R(6), |
- B(Mov), R(1), R(2), |
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2), U8(5), |
- B(Ldar), R(2), |
+ B(Ldar), R(4), |
+ B(StaDataPropertyInLiteral), R(1), R(3), R(5), R(6), |
+ B(Ldar), R(1), |
/* 69 S> */ B(Return), |
] |
constant pool: [ |
@@ -318,7 +318,7 @@ snippet: " |
" |
frame size: 7 |
parameter count: 1 |
-bytecode array length: 37 |
+bytecode array length: 36 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
@@ -332,9 +332,9 @@ bytecodes: [ |
B(Star), R(5), |
B(LdaZero), |
B(Star), R(6), |
- B(Mov), R(1), R(2), |
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2), U8(5), |
- B(Ldar), R(2), |
+ B(Ldar), R(4), |
+ B(StaDataPropertyInLiteral), R(1), R(3), R(5), R(6), |
+ B(Ldar), R(1), |
/* 77 S> */ B(Return), |
] |
constant pool: [ |
@@ -351,7 +351,7 @@ snippet: " |
" |
frame size: 7 |
parameter count: 1 |
-bytecode array length: 46 |
+bytecode array length: 48 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
@@ -364,9 +364,10 @@ bytecodes: [ |
B(Star), R(5), |
B(LdaZero), |
B(Star), R(6), |
- B(Mov), R(1), R(2), |
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2), U8(5), |
+ B(Ldar), R(4), |
+ B(StaDataPropertyInLiteral), R(1), R(3), R(5), R(6), |
B(CreateObjectLiteral), U8(1), U8(0), 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), |
B(Ldar), R(2), |
@@ -385,7 +386,7 @@ snippet: " |
" |
frame size: 7 |
parameter count: 1 |
-bytecode array length: 67 |
+bytecode array length: 69 |
bytecodes: [ |
/* 30 E> */ B(StackCheck), |
/* 42 S> */ B(LdaConstant), U8(0), |
@@ -398,14 +399,15 @@ bytecodes: [ |
B(Star), R(5), |
B(LdaZero), |
B(Star), R(6), |
- B(Mov), R(1), R(2), |
- B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(2), U8(5), |
+ B(Ldar), R(4), |
+ B(StaDataPropertyInLiteral), R(1), R(3), R(5), R(6), |
B(LdaConstant), U8(3), |
B(ToName), R(3), |
B(CreateClosure), U8(4), U8(2), |
B(Star), R(4), |
B(LdaZero), |
B(Star), R(5), |
+ B(Mov), R(1), R(2), |
B(CallRuntime), U16(Runtime::kDefineGetterPropertyUnchecked), R(2), U8(4), |
B(LdaConstant), U8(3), |
B(ToName), R(3), |