Index: test/cctest/interpreter/test-bytecode-generator.cc |
diff --git a/test/cctest/interpreter/test-bytecode-generator.cc b/test/cctest/interpreter/test-bytecode-generator.cc |
index 4046832fa95155036fd532050b01a075f9ed8543..c88213654d7b2a8f8b4a21d48df5182406388e52 100644 |
--- a/test/cctest/interpreter/test-bytecode-generator.cc |
+++ b/test/cctest/interpreter/test-bytecode-generator.cc |
@@ -2225,30 +2225,19 @@ TEST(ObjectLiterals) { |
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
InstanceType::SHARED_FUNCTION_INFO_TYPE, |
InstanceType::SHARED_FUNCTION_INFO_TYPE}}, |
- {"return { get a() { return this.x; }, set b(val) { this.y = val } };", |
+ {"return { set b(val) { this.y = val } };", |
5 * kPointerSize, |
1, |
- 52, |
+ 31, |
{ |
B(LdaConstant), U8(0), // |
B(CreateObjectLiteral), U8(0), U8(deep_elements_flags), // |
B(Star), R(0), // |
B(LdaConstant), U8(1), // |
B(Star), R(1), // |
- B(LdaConstant), U8(2), // |
- B(CreateClosure), U8(0), // |
- B(Star), R(2), // |
- B(LdaNull), // |
- B(Star), R(3), // |
- B(LdaZero), // |
- B(Star), R(4), // |
- B(CallRuntime), U16(Runtime::kDefineAccessorPropertyUnchecked), // |
- R(0), U8(5), // |
- B(LdaConstant), U8(3), // |
- B(Star), R(1), // |
B(LdaNull), // |
B(Star), R(2), // |
- B(LdaConstant), U8(4), // |
+ B(LdaConstant), U8(2), // |
B(CreateClosure), U8(0), // |
B(Star), R(3), // |
B(LdaZero), // |
@@ -2258,11 +2247,9 @@ TEST(ObjectLiterals) { |
B(Ldar), R(0), // |
B(Return), // |
}, |
- 5, |
+ 3, |
{InstanceType::FIXED_ARRAY_TYPE, |
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
- InstanceType::SHARED_FUNCTION_INFO_TYPE, |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
InstanceType::SHARED_FUNCTION_INFO_TYPE}}, |
{"var a = 1; return { 1: a };", |
5 * kPointerSize, |