Commit 508123cb authored by verwaest@chromium.org's avatar verwaest@chromium.org

Remove ASSERT related to major-key, it's not given that they match.

BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/166323015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19512 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 84b36651
......@@ -845,7 +845,6 @@ Handle<Code> IC::ComputeHandler(LookupResult* lookup,
#ifdef DEBUG
Handle<Code> compiled = CompileHandler(
lookup, object, name, value, cache_holder);
ASSERT(compiled->major_key() == code->major_key());
ASSERT(compiled->flags() == code->flags());
#endif
return code;
......
......@@ -198,7 +198,6 @@ Handle<Code> StubCache::ComputeLoadNonexistent(Handle<Name> name,
LoadStubCompiler compiler(isolate_, kNoExtraICState, flag);
Handle<Code> compiled = compiler.CompileLoadNonexistent(
type, last, cache_name);
ASSERT(compiled->major_key() == handler->major_key());
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