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

Unified Diff: src/string-builder.cc

Issue 1417013007: Revert of Canonicalize handles for optimized compilation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/string-builder.h ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/string-builder.cc
diff --git a/src/string-builder.cc b/src/string-builder.cc
index 6c5144d574aea64ea2ccc04fadf1afdc2e7d8999..e24def6b683fe903c7839af52b586f44114cb9de 100644
--- a/src/string-builder.cc
+++ b/src/string-builder.cc
@@ -52,7 +52,7 @@
part_length_(kInitialPartLength),
current_index_(0) {
// Create an accumulator handle starting with the empty string.
- accumulator_ = Handle<String>::New(isolate->heap()->empty_string(), isolate);
+ accumulator_ = Handle<String>(isolate->heap()->empty_string(), isolate);
current_part_ =
factory()->NewRawOneByteString(part_length_).ToHandleChecked();
}
« no previous file with comments | « src/string-builder.h ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698