Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: src/runtime.h

Issue 9231017: Recursion limit for one-char string replace and retire String::kMinNonFlatLength. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects-debug.cc ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.h
diff --git a/src/runtime.h b/src/runtime.h
index 3056217ea6734c4e1575f7b0e0980bb6d660f019..c0c7b13bc212527d0a8019c3ba58ec57a5ed4498 100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -634,7 +634,8 @@ class Runtime : public AllStatic {
Handle<String> subject,
Handle<String> search,
Handle<String> replace,
- bool* found);
+ bool* found,
+ int recursion_limit);
// General-purpose helper functions for runtime system.
static int StringMatch(Isolate* isolate,
« no previous file with comments | « src/objects-debug.cc ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698