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

Unified Diff: src/string-builder.h

Issue 2398423002: [regexp] Port RegExp.prototype[@@replace] (Closed)
Patch Set: Tweaks in string code-stub-assembler methods Created 4 years, 2 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
Index: src/string-builder.h
diff --git a/src/string-builder.h b/src/string-builder.h
index 192603f33f98025b7171554b7b2dc5c0eef6be0c..a37630131e07b0263b506c1dac9fae407a3897a9 100644
--- a/src/string-builder.h
+++ b/src/string-builder.h
@@ -174,12 +174,6 @@ class FixedArrayBuilder {
int capacity() { return array_->length(); }
- Handle<JSArray> ToJSArray(Handle<JSArray> target_array) {
- JSArray::SetContent(target_array, array_);
- target_array->set_length(Smi::FromInt(length_));
- return target_array;
- }
-
private:
Handle<FixedArray> array_;

Powered by Google App Engine
This is Rietveld 408576698