Reviewers: Erik Corry,
Description:
Make the direct call to native RegExp work
Single glitch in r3542 which caused the direct call to native regexp code to
always bail out to the runtime system.
[email protected]
Please review this at http://codereview.chromium.org/523091
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/ia32/codegen-ia32.cc
Index: src/ia32/codegen-ia32.cc
===================================================================
--- src/ia32/codegen-ia32.cc (revision 3542)
+++ src/ia32/codegen-ia32.cc (working copy)
@@ -8011,6 +8011,7 @@
__ j(not_equal, &runtime);
// Check that the JSArray is in fast case.
__ mov(ebx, FieldOperand(eax, JSArray::kElementsOffset));
+ __ mov(eax, FieldOperand(ebx, HeapObject::kMapOffset));
__ cmp(eax, Factory::fixed_array_map());
__ j(not_equal, &runtime);
// Check that the last match info has space for the capture registers
and the
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev