| Index: test/cctest/compiler/test-run-stubs.cc
|
| diff --git a/test/cctest/compiler/test-run-stubs.cc b/test/cctest/compiler/test-run-stubs.cc
|
| index b34e5d4a51c7e215bd61cb68522d2dd9f73be560..8b6519eac597731d9a4bc2c5c250efd277ea4cc9 100644
|
| --- a/test/cctest/compiler/test-run-stubs.cc
|
| +++ b/test/cctest/compiler/test-run-stubs.cc
|
| @@ -47,10 +47,11 @@ TEST(RunStringLengthStub) {
|
| Node* vectorParam = graph.NewNode(common.Parameter(4), start);
|
| Node* theCode = graph.NewNode(common.HeapConstant(code));
|
| Node* dummyContext = graph.NewNode(common.NumberConstant(0.0));
|
| + Node* zero = graph.NewNode(common.Int32Constant(0));
|
| Node* call =
|
| graph.NewNode(common.Call(descriptor), theCode, receiverParam, nameParam,
|
| slotParam, vectorParam, dummyContext, start, start);
|
| - Node* ret = graph.NewNode(common.Return(), call, call, start);
|
| + Node* ret = graph.NewNode(common.Return(), zero, call, call, start);
|
| Node* end = graph.NewNode(common.End(1), ret);
|
| graph.SetStart(start);
|
| graph.SetEnd(end);
|
|
|