Reviewers: Christian Plesner Hansen,

Description:
Oh, it has to work on Intel CPUs too?

Please review this at http://codereview.chromium.org/12432

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/regexp-macro-assembler-ia32.cc


Index: src/regexp-macro-assembler-ia32.cc
===================================================================
--- src/regexp-macro-assembler-ia32.cc  (revision 833)
+++ src/regexp-macro-assembler-ia32.cc  (working copy)
@@ -183,7 +183,7 @@
      if (mode_ == ASCII) {
        constant_buffer.at<char>(i) = static_cast<char>(str[i]);
      } else {
-      memcpy(constant_buffer.location<void>(),
+      memcpy(constant_buffer.location(),
               str.start(),
               str.length() * sizeof(uc16));
      }



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to