Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 234e3b3754e4545cacd18a33ca7c010f06733917..e9a887e75c651af035b540812ace3e9508f63c7d 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1419,6 +1419,7 @@ void FullCodeGenerator::EmitDynamicLookupFastCase(VariableProxy* proxy, |
void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy) { |
// Record position before possible IC call. |
SetSourcePosition(proxy->position()); |
+ PrepareForBailoutForId(proxy->BeforeId(), NO_REGISTERS); |
Variable* var = proxy->var(); |
// Three cases: global variables, lookup variables, and all other types of |