Reviewers: verwest_chromium.org,

Description:
Remove bogus ASSERTs

[email protected]

Please review this at https://codereview.chromium.org/171533017/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -2 lines):
  M src/ic.cc
  M src/stub-cache.cc


Index: src/ic.cc
diff --git a/src/ic.cc b/src/ic.cc
index 29281339f0ed2b52a9a165d45388aafa228a92a0..6ad7fca442c50aadda607e75b30dfdd2f47fee35 100644
--- 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->flags() == code->flags());
 #endif
     return code;
   }
Index: src/stub-cache.cc
diff --git a/src/stub-cache.cc b/src/stub-cache.cc
index a12976a6c214c984c3414ff03eaf76b9853e2349..f6b0f192444c94c47fa851533267b3b2726ee0a9 100644
--- a/src/stub-cache.cc
+++ b/src/stub-cache.cc
@@ -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->flags() == handler->flags());
 #endif
     return handler;
   }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to