Remove executor steps/match limit from RegExp.

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
László Langó
2015-08-03 14:34:03 +02:00
committed by Dániel Bátyai
parent 9ab0f23e48
commit 7a3636b5ce
2 changed files with 0 additions and 14 deletions
@@ -34,11 +34,6 @@
*/
#define RE_EXECUTE_RECURSION_LIMIT 1000
/**
* Limit of RegExp execetur matching steps
*/
#define RE_EXECUTE_MATCH_LIMIT 10000
/**
* RegExp flags
*/
@@ -54,7 +49,6 @@ typedef struct
lit_utf8_iterator_t *saved_p; /**< saved result string pointers, ECMA 262 v5, 15.10.2.1, State */
const lit_utf8_byte_t *input_start_p; /**< start of input pattern string */
const lit_utf8_byte_t *input_end_p; /**< end of input pattern string */
uint32_t match_limit; /**< matching limit counter */
uint32_t recursion_depth; /**< recursion depth counter */
uint32_t num_of_captures; /**< number of capture groups */
uint32_t num_of_non_captures; /**< number of non-capture groups */