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

Unified Diff: src/isolate.cc

Issue 6991007: Don't flatten every time we call CharCodeAt Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 7 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/isolate.h ('k') | src/objects.h » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 48717021d7f75e8b5eb304ab2eaa14c39ae9e692..ac7519b33d842692e01de7b20157585553b0e598 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -461,7 +461,8 @@ Isolate::Isolate()
string_tracker_(NULL),
regexp_stack_(NULL),
frame_element_constant_list_(0),
- result_constant_list_(0) {
+ result_constant_list_(0),
+ flatten_counter_(kStringFlattenInterval) {
TRACE_ISOLATE(constructor);
memset(isolate_addresses_, 0,
« no previous file with comments | « src/isolate.h ('k') | src/objects.h » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698