Remove ASSERT related to major-key, it's not given that they match.
authorverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 20 Feb 2014 16:35:25 +0000 (16:35 +0000)
committerverwaest@chromium.org <verwaest@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 20 Feb 2014 16:35:25 +0000 (16:35 +0000)
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

src/ic.cc
src/stub-cache.cc

index 37fda27..a264241 100644 (file)
--- a/src/ic.cc
+++ b/src/ic.cc
@@ -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;
index 5c72806..a12976a 100644 (file)
@@ -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;