Oh, it has to work on Intel CPUs too?
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 25 Nov 2008 13:23:49 +0000 (13:23 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 25 Nov 2008 13:23:49 +0000 (13:23 +0000)
Review URL: http://codereview.chromium.org/12432

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/regexp-macro-assembler-ia32.cc

index 1e65349..66c4783 100644 (file)
@@ -180,7 +180,7 @@ void RegExpMacroAssemblerIA32::CheckCharacters(Vector<const uc16> str,
       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));
   }