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 e054f970991e3053e48d31c0272749736493a3c8..e0c616fe115272ec12e5fc029697b2a89102ee61 100644 |
--- a/test/cctest/interpreter/test-bytecode-generator.cc |
+++ b/test/cctest/interpreter/test-bytecode-generator.cc |
@@ -911,20 +911,20 @@ TEST(PropertyCall) { |
3, |
30, |
{ |
- B(Ldar), R(helper.kLastParamIndex - 1), // |
- B(Star), R(1), // |
- B(LdaConstant), U8(0), // |
- B(LoadICSloppy), R(1), U8(vector->GetIndex(slot2)), // |
- B(Star), R(0), // |
- B(Ldar), R(helper.kLastParamIndex), // |
- B(Star), R(2), // |
- B(Ldar), R(helper.kLastParamIndex), // |
- B(Add), R(2), // |
- B(Star), R(2), // |
- B(Ldar), R(helper.kLastParamIndex), // |
- B(Star), R(3), // |
- B(Call), R(0), R(1), U8(2), // |
- B(Return) // |
+ B(Ldar), R(helper.kLastParamIndex - 1), // |
+ B(Star), R(1), // |
+ B(LdaConstant), U8(0), // |
+ B(LoadICSloppy), R(1), U8(5), // |
rmcilroy
2015/10/14 10:18:35
please use vector->GetIndex(...) here
oth
2015/10/14 16:02:19
Done.
|
+ B(Star), R(0), // |
+ B(Ldar), R(helper.kLastParamIndex), // |
+ B(Star), R(3), // |
+ B(Ldar), R(helper.kLastParamIndex), // |
+ B(Add), R(3), // |
+ B(Star), R(2), // |
+ B(Ldar), R(helper.kLastParamIndex), // |
+ B(Star), R(3), // |
+ B(Call), R(0), R(1), U8(2), // |
+ B(Return), // |
}, |
1, |
{"func"}}}; |