Reviewers: Igor Sheludko,
Message:
PTAL
Description:
Remove ASSERT related to major-key, it's not given that they match.
BUG=
Please review this at https://codereview.chromium.org/166323015/
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
37fda27779e705b0af831dd1ba3578ec0831018e..a264241dbaff66fcd1e4a4868b33cb1e7d912071
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->major_key() == code->major_key());
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
5c72806da7b4c07f0fbfddfa650841d17102c433..a12976a6c214c984c3414ff03eaf76b9853e2349
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->major_key() == handler->major_key());
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.