Revision: 19518
Author:   [email protected]
Date:     Thu Feb 20 17:57:22 2014 UTC
Log:      Use holder dictionary-mode to detect FAST or NORMAL

BUG=
[email protected]

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

Modified:
 /branches/bleeding_edge/src/ic.cc

=======================================
--- /branches/bleeding_edge/src/ic.cc   Thu Feb 20 16:35:25 2014 UTC
+++ /branches/bleeding_edge/src/ic.cc   Thu Feb 20 17:57:22 2014 UTC
@@ -840,7 +840,7 @@

   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.

Reply via email to