Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 902c43c1330e4c7af7f977c9a41e6d7a8733bc80..7541c5758824163445d20313cfc5df800cf657e8 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -9819,7 +9819,7 @@ void HOptimizedGraphBuilder::GenerateTypedArrayInitialize( |
CHECK_ALIVE(VisitForValue(arguments->at(kObjectArg))); |
HValue* obj = Pop(); |
- if (arguments->at(kArrayIdArg)->IsLiteral()) { |
+ if (!arguments->at(kArrayIdArg)->IsLiteral()) { |
// This should never happen in real use, but can happen when fuzzing. |
// Just bail out. |
Bailout(kNeedSmiLiteral); |