| Index: src/code-stubs-hydrogen.cc
|
| diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
|
| index 0cf39f7dcfe2b9665ad291bb577c413ac7327df7..60e626e1aec843a4a04b0fc418a9dec6e5aa75e5 100644
|
| --- a/src/code-stubs-hydrogen.cc
|
| +++ b/src/code-stubs-hydrogen.cc
|
| @@ -1356,12 +1356,11 @@ HValue* CodeStubGraphBuilder<CompareNilICStub>::BuildCodeInitializedStub() {
|
| if_nil.Then();
|
| if (continuation.IsFalseReachable()) {
|
| if_nil.Else();
|
| - if_nil.Return(graph()->GetConstant0());
|
| + if_nil.Return(graph()->GetConstantFalse());
|
| }
|
| if_nil.End();
|
| - return continuation.IsTrueReachable()
|
| - ? graph()->GetConstant1()
|
| - : graph()->GetConstantUndefined();
|
| + return continuation.IsTrueReachable() ? graph()->GetConstantTrue()
|
| + : graph()->GetConstantUndefined();
|
| }
|
|
|
|
|
|
|