Status: New
Owner: ----
New issue 1266 by [email protected]: The Irregexp Interpreter compile
fails
http://code.google.com/p/v8/issues/detail?id=1266
When you try to compile v8 with regexp=interpreted option then the
following error occurs:
src/jsregexp.cc: In static member function 'static
v8::internal::RegExpImpl::IrregexpResult
v8::internal::RegExpImpl::IrregexpExecOnce(v8::internal::Handle<v8::internal::JSRegExp>,
v8::internal::Handle<v8::internal::String>, int,
v8::internal::Vector<int>)':
src/jsregexp.cc:507:39: error: no matching function for call
to 'v8::internal::IrregexpInterpreter::Match(v8::internal::Handle<v8::internal::ByteArray>&,
v8::internal::Handle<v8::internal::String>&, int*&, int&)'
src/interpreter-irregexp.h:39:15: note: candidate is: static bool
v8::internal::IrregexpInterpreter::Match(v8::internal::Isolate*,
v8::internal::Handle<v8::internal::ByteArray>,
v8::internal::Handle<v8::internal::String>, int*, int)
scons: *** [obj/release/jsregexp.o] Error 1
scons: building terminated because of errors.
The Isolate type of argument is missing from the calling of the
IrregexpInterpreter::Match() function.
This function works well when adding the missing isolate argument:
IrregexpInterpreter::Match(isolate, byte_codes, subject, register_vector,
index));
Attachments:
0001-fix-irregexp-interpreter.patch 850 bytes
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev