Reviewers: Igor Sheludko,
Message:
PTAL
Description:
Use holder dictionary-mode to detect FAST or NORMAL
BUG=
Please review this at https://codereview.chromium.org/165993004/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -1 lines):
M src/ic.cc
Index: src/ic.cc
diff --git a/src/ic.cc b/src/ic.cc
index
a264241dbaff66fcd1e4a4868b33cb1e7d912071..29281339f0ed2b52a9a165d45388aafa228a92a0
100644
--- a/src/ic.cc
+++ b/src/ic.cc
@@ -840,7 +840,7 @@ Handle<Code> IC::ComputeHandler(LookupResult* lookup,
Handle<Code> code = isolate()->stub_cache()->FindHandler(
name, handle(stub_holder->map()), kind(), cache_holder,
- lookup->IsNormal() ? Code::NORMAL : Code::FAST);
+ lookup->holder()->HasFastProperties() ? Code::FAST : Code::NORMAL);
if (!code.is_null()) {
#ifdef DEBUG
Handle<Code> compiled = CompileHandler(
--
--
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.