Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 822077dd1708bc1b30ffbc9e07c150408e579443..674096b3049935e24915cd0e57219c0231baeb2e 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -3528,6 +3528,10 @@ bool HLoadKeyed::RequiresHoleCheck() const { |
return false; |
} |
+ if (hole_mode() == CONVERT_HOLE_TO_UNDEFINED) { |
+ return false; |
+ } |
+ |
return !UsesMustHandleHole(); |
} |