Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 24c2ab40b64445905df381b9213a3e8695b97b36..25cb86ac9ea1ce003403e56e5f9645aff2aa2618 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5647,7 +5647,7 @@ HInstruction* HOptimizedGraphBuilder::BuildMonomorphicAccess( |
? TryInlineGetter(info->accessor(), info->map(), ast_id, return_id) |
: TryInlineSetter( |
info->accessor(), info->map(), ast_id, return_id, value); |
- if (success) return NULL; |
+ if (success || HasStackOverflow()) return NULL; |
} |
PushArgumentsFromEnvironment(argument_count); |