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

Side by Side Diff: src/v8.cc

Issue 261903002: Generation of our home-grown memmove doesn't depend on serializer state anymore. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed parameter. Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/platform-win32.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8.h" 5 #include "v8.h"
6 6
7 #include "assembler.h" 7 #include "assembler.h"
8 #include "isolate.h" 8 #include "isolate.h"
9 #include "elements.h" 9 #include "elements.h"
10 #include "bootstrapper.h" 10 #include "bootstrapper.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 FLAG_max_new_space_size = (1 << (kPageSizeBits - 10)) * 2; 117 FLAG_max_new_space_size = (1 << (kPageSizeBits - 10)) * 2;
118 } 118 }
119 119
120 #ifdef V8_USE_DEFAULT_PLATFORM 120 #ifdef V8_USE_DEFAULT_PLATFORM
121 platform_ = new DefaultPlatform; 121 platform_ = new DefaultPlatform;
122 #endif 122 #endif
123 Sampler::SetUp(); 123 Sampler::SetUp();
124 // TODO(svenpanne) Clean this up when Serializer is a real object. 124 // TODO(svenpanne) Clean this up when Serializer is a real object.
125 bool serializer_enabled = Serializer::enabled(NULL); 125 bool serializer_enabled = Serializer::enabled(NULL);
126 CpuFeatures::Probe(serializer_enabled); 126 CpuFeatures::Probe(serializer_enabled);
127 OS::PostSetUp(serializer_enabled); 127 OS::PostSetUp();
128 ElementsAccessor::InitializeOncePerProcess(); 128 ElementsAccessor::InitializeOncePerProcess();
129 LOperand::SetUpCaches(); 129 LOperand::SetUpCaches();
130 SetUpJSCallerSavedCodeData(); 130 SetUpJSCallerSavedCodeData();
131 ExternalReference::SetUp(); 131 ExternalReference::SetUp();
132 Bootstrapper::InitializeOncePerProcess(); 132 Bootstrapper::InitializeOncePerProcess();
133 } 133 }
134 134
135 135
136 void V8::InitializeOncePerProcess() { 136 void V8::InitializeOncePerProcess() {
137 CallOnce(&init_once, &InitializeOncePerProcessImpl); 137 CallOnce(&init_once, &InitializeOncePerProcessImpl);
(...skipping 12 matching lines...) Expand all
150 platform_ = NULL; 150 platform_ = NULL;
151 } 151 }
152 152
153 153
154 v8::Platform* V8::GetCurrentPlatform() { 154 v8::Platform* V8::GetCurrentPlatform() {
155 ASSERT(platform_); 155 ASSERT(platform_);
156 return platform_; 156 return platform_;
157 } 157 }
158 158
159 } } // namespace v8::internal 159 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-win32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698