Revision: 22697
Author:   [email protected]
Date:     Wed Jul 30 09:28:43 2014 UTC
Log:      X87: Only generate a single normal IC per kind per slow-mode map.

port r22680

original commit message:

  only generate a single normal IC per kind per slow-mode map.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/423393003

Patch from Chunyang Dai <[email protected]>.
http://code.google.com/p/v8/source/detail?r=22697

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

=======================================
--- /branches/bleeding_edge/src/x87/stub-cache-x87.cc Wed Jul 30 09:04:42 2014 UTC +++ /branches/bleeding_edge/src/x87/stub-cache-x87.cc Wed Jul 30 09:28:43 2014 UTC
@@ -1299,8 +1299,14 @@

   if (check == PROPERTY &&
       (kind() == Code::KEYED_LOAD_IC || kind() == Code::KEYED_STORE_IC)) {
-    __ cmp(this->name(), Immediate(name));
-    __ j(not_equal, &miss);
+    // In case we are compiling an IC for dictionary loads and stores, just
+    // check whether the name is unique.
+    if (name.is_identical_to(isolate()->factory()->normal_ic_symbol())) {
+      __ JumpIfNotUniqueName(this->name(), &miss);
+    } else {
+      __ cmp(this->name(), Immediate(name));
+      __ j(not_equal, &miss);
+    }
   }

   Label number_case;

--
--
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/d/optout.

Reply via email to