Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index c65dd65ab023e121c8dcfc19bb0789dbc85541e6..f702cce1c3c9b801849fa97e1e5d2958c47170a0 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -193,7 +193,7 @@ |
PopulateDeoptimizationData(result); |
// Ensure there is space for lazy deoptimization in the relocation info. |
- if (info->ShouldEnsureSpaceForLazyDeopt()) { |
+ if (!info->ShouldEnsureSpaceForLazyDeopt()) { |
Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(result); |
} |