Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index 00df7be065371c46a40f732385eeae0b12a55840..4b253af197842a7cbd549ca5692fa5170a6cfff8 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -75,6 +75,9 @@ Handle<Code> PropertyHandlerCompiler::GetCode(Code::Kind kind, |
Code::Flags flags = Code::ComputeHandlerFlags(kind, type, cache_holder()); |
Handle<Code> code = GetCodeWithFlags(flags, name); |
PROFILE(isolate(), CodeCreateEvent(Logger::STUB_TAG, *code, *name)); |
+#ifdef DEBUG |
+ code->VerifyEmbeddedObjects(); |
+#endif |
return code; |
} |