Index: src/js/regexp.js |
diff --git a/src/js/regexp.js b/src/js/regexp.js |
index 0e9d3cb3d1d7333cb1cdfd822de7a27553d26889..d5e55ef3bcee3230d855e32eab9092e32a9c0d43 100644 |
--- a/src/js/regexp.js |
+++ b/src/js/regexp.js |
@@ -112,7 +112,10 @@ function RegExpCompileJS(pattern, flags) { |
pattern = REGEXP_SOURCE(pattern); |
} |
- return RegExpInitialize(this, pattern, flags); |
+ RegExpInitialize(this, pattern, flags); |
+ |
+ // Return undefined for compatibility with JSC. |
+ // See http://crbug.com/585775 for web compat details. |
} |