Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 6317a54a2b400385c2c75ff3c59b6fac8ca36deb..4abdc8b5d401e0c62ae1eee3a38e2d54b0d0b6db 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -135,6 +135,8 @@ void LCodeGen::Comment(const char* format, ...) { |
bool LCodeGen::GeneratePrologue() { |
ASSERT(is_generating()); |
+ ProfileEntryHookStub::MaybeCallEntryHook(masm_); |
+ |
#ifdef DEBUG |
if (strlen(FLAG_stop_at) > 0 && |
info_->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) { |