Index: src/ic/ic-compiler.cc |
diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc |
index e087acfcb0e71f1be9d6a75a961a10f00563c477..7fca34bd9f84dc13a2bb3373668e6f335a15cc74 100644 |
--- a/src/ic/ic-compiler.cc |
+++ b/src/ic/ic-compiler.cc |
@@ -381,6 +381,9 @@ Handle<Code> PropertyICCompiler::GetCode(Code::Kind kind, Code::StubType type, |
Code::ComputeFlags(kind, state, extra_ic_state_, type, cache_holder()); |
Handle<Code> code = GetCodeWithFlags(flags, name); |
PROFILE(isolate(), CodeCreateEvent(log_kind(code), *code, *name)); |
+#ifdef DEBUG |
+ code->VerifyEmbeddedObjects(); |
+#endif |
return code; |
} |