Revision: 19521
Author:   [email protected]
Date:     Thu Feb 20 21:55:45 2014 UTC
Log:      Remove bogus ASSERTs

[email protected]

Review URL: https://codereview.chromium.org/171533017
http://code.google.com/p/v8/source/detail?r=19521

Modified:
 /branches/bleeding_edge/src/ic.cc
 /branches/bleeding_edge/src/stub-cache.cc

=======================================
--- /branches/bleeding_edge/src/ic.cc   Thu Feb 20 17:57:22 2014 UTC
+++ /branches/bleeding_edge/src/ic.cc   Thu Feb 20 21:55:45 2014 UTC
@@ -842,11 +842,6 @@
       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;
   }

=======================================
--- /branches/bleeding_edge/src/stub-cache.cc   Thu Feb 20 16:35:25 2014 UTC
+++ /branches/bleeding_edge/src/stub-cache.cc   Thu Feb 20 21:55:45 2014 UTC
@@ -194,12 +194,6 @@
   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;
   }

--
--
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