From baaccb96a70efdde123a523b3dfae356f119ba77 Mon Sep 17 00:00:00 2001 From: "danno@chromium.org" Date: Thu, 20 Feb 2014 21:55:45 +0000 Subject: [PATCH] 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 --- src/ic.cc | 5 ----- src/stub-cache.cc | 6 ------ 2 files changed, 11 deletions(-) diff --git a/src/ic.cc b/src/ic.cc index 2928133..7c156e5 100644 --- a/src/ic.cc +++ b/src/ic.cc @@ -842,11 +842,6 @@ Handle 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 compiled = CompileHandler( - lookup, object, name, value, cache_holder); - ASSERT(compiled->flags() == code->flags()); -#endif return code; } diff --git a/src/stub-cache.cc b/src/stub-cache.cc index a12976a..f23e5aa 100644 --- a/src/stub-cache.cc +++ b/src/stub-cache.cc @@ -194,12 +194,6 @@ Handle StubCache::ComputeLoadNonexistent(Handle name, Handle handler = FindHandler( cache_name, stub_holder, Code::LOAD_IC, flag, Code::FAST); if (!handler.is_null()) { -#ifdef DEBUG - LoadStubCompiler compiler(isolate_, kNoExtraICState, flag); - Handle compiled = compiler.CompileLoadNonexistent( - type, last, cache_name); - ASSERT(compiled->flags() == handler->flags()); -#endif return handler; } -- 2.7.4