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

Unified Diff: src/heap.cc

Issue 507051: Attempt to make \b\w+ faster. Slight performance increase on, e.g., string unpacking. (Closed)
Patch Set: Addressed review comments. Created 10 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/flag-definitions.h ('k') | src/ia32/regexp-macro-assembler-ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index 27e5a3ef3177d40e0813cd20258c5b72205e5bbb..4ad3735eb5c7de42848e542fef3ff6b6b788c432 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -804,7 +804,7 @@ void Heap::ScavengeExternalStringTable() {
}
}
- ExternalStringTable::ShrinkNewStrings(last - start);
+ ExternalStringTable::ShrinkNewStrings(static_cast<int>(last - start));
}
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/regexp-macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698