Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 1a9aea241947c2af79a969a5a389428c3f6e5e3b..a0c40164527040f630a5e71ca682450e03810f9a 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -130,6 +130,11 @@ void FullCodeGenerator::Generate() { |
} |
#endif |
+ uintptr_t entry_hook = V8::GetFunctionEntryHook(); |
+ if (entry_hook != 0) { |
+ __ call(reinterpret_cast<byte*>(entry_hook), RelocInfo::RUNTIME_ENTRY); |
+ } |
+ |
// Strict mode functions and builtins need to replace the receiver |
// with undefined when called as functions (without an explicit |
// receiver object). ecx is zero for method calls and non-zero for |