Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 2b45d7654d852a0184a12ed6ee836292366e111e..4420102eb095218815a3fbbe3c789d9637e39a21 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -486,6 +486,10 @@ static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm, |
// Invoke the code. |
if (is_construct) { |
+ // No type feedback cell is available |
+ Handle<Object> undefined_sentinel( |
+ masm->isolate()->heap()->undefined_value(), masm->isolate()); |
+ __ mov(ebx, Immediate(undefined_sentinel)); |
CallConstructStub stub(NO_CALL_FUNCTION_FLAGS); |
__ CallStub(&stub); |
} else { |