R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/
171533017
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19521
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
name, handle(stub_holder->map()), kind(), cache_holder,
lookup->holder()->HasFastProperties() ? Code::FAST : Code::NORMAL);
if (!code.is_null()) {
-#ifdef DEBUG
- Handle<Code> compiled = CompileHandler(
- lookup, object, name, value, cache_holder);
- ASSERT(compiled->flags() == code->flags());
-#endif
return code;
}
Handle<Code> handler = FindHandler(
cache_name, stub_holder, Code::LOAD_IC, flag, Code::FAST);
if (!handler.is_null()) {
-#ifdef DEBUG
- LoadStubCompiler compiler(isolate_, kNoExtraICState, flag);
- Handle<Code> compiled = compiler.CompileLoadNonexistent(
- type, last, cache_name);
- ASSERT(compiled->flags() == handler->flags());
-#endif
return handler;
}