Index: src/regexp.js |
=================================================================== |
--- src/regexp.js (revision 9808) |
+++ src/regexp.js (working copy) |
@@ -174,13 +174,6 @@ |
['RegExp.prototype.exec', this]); |
} |
- if (%_ArgumentsLength() === 0) { |
- var regExpInput = LAST_INPUT(lastMatchInfo); |
- if (IS_UNDEFINED(regExpInput)) { |
- throw MakeError('no_input_to_regexp', [this]); |
- } |
- string = regExpInput; |
- } |
string = TO_STRING_INLINE(string); |
var lastIndex = this.lastIndex; |
@@ -229,14 +222,6 @@ |
throw MakeTypeError('incompatible_method_receiver', |
['RegExp.prototype.test', this]); |
} |
- if (%_ArgumentsLength() == 0) { |
- var regExpInput = LAST_INPUT(lastMatchInfo); |
- if (IS_UNDEFINED(regExpInput)) { |
- throw MakeError('no_input_to_regexp', [this]); |
- } |
- string = regExpInput; |
- } |
- |
string = TO_STRING_INLINE(string); |
var lastIndex = this.lastIndex; |
Property changes on: src/regexp.js |
___________________________________________________________________ |
Modified: svn:mergeinfo |
Merged /branches/bleeding_edge/src/regexp.js:r9605-9808 |