Revision: 11805
Author: yang...@chromium.org
Date: Thu Jun 14 01:01:05 2012
Log: Introduce regexp=interpreted to GYP to enable building with
interpreted regexp engine.
This option existis for scons. It does not compile yet since there are some
broken stuff yet to be fixed.
R=jkumme...@chromium.org
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10544138
http://code.google.com/p/v8/source/detail?r=11805
Modified:
/branches/bleeding_edge/Makefile
/branches/bleeding_edge/build/common.gypi
=======================================
--- /branches/bleeding_edge/Makefile Mon May 21 02:01:19 2012
+++ /branches/bleeding_edge/Makefile Thu Jun 14 01:01:05 2012
@@ -95,6 +95,10 @@
ifeq ($(strictaliasing), off)
GYPFLAGS += -Dv8_no_strict_aliasing=1
endif
+# regexp=interpreted
+ifeq ($(regexp), interpreted)
+ GYPFLAGS += -Dv8_interpreted_regexp=1
+endif
# ----------------- available targets: --------------------
# - "dependencies": pulls in external dependencies (currently: GYP)
=======================================
--- /branches/bleeding_edge/build/common.gypi Tue May 29 03:00:57 2012
+++ /branches/bleeding_edge/build/common.gypi Thu Jun 14 01:01:05 2012
@@ -95,6 +95,10 @@
# For a shared library build, results in "libv8-<(soname_version).so".
'soname_version%': '',
+
+ # Interpreted regexp engine exists as platform-independent alternative
+ # based where the regular expression is compiled to a bytecode.
+ 'v8_interpreted_regexp%': 0,
},
'target_defaults': {
'conditions': [
@@ -110,6 +114,9 @@
['v8_enable_gdbjit==1', {
'defines': ['ENABLE_GDB_JIT_INTERFACE',],
}],
+ ['v8_interpreted_regexp==1', {
+ 'defines': ['V8_INTERPRETED_REGEXP',],
+ }],
['v8_target_arch=="arm"', {
'defines': [
'V8_TARGET_ARCH_ARM',
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev