Commit baaccb96 authored by danno@chromium.org's avatar danno@chromium.org

Remove bogus ASSERTs

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
parent b83da9f5
......@@ -842,11 +842,6 @@ Handle<Code> IC::ComputeHandler(LookupResult* lookup,
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;
}
......
......@@ -194,12 +194,6 @@ Handle<Code> StubCache::ComputeLoadNonexistent(Handle<Name> name,
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment