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

Side by Side Diff: src/v8.cc

Issue 297303004: Revert 21502 - "Move OS::MemCopy and OS::MemMove out of platform to utils" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/utils.cc ('k') | src/x64/assembler-x64.cc » ('j') | 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 FLAG_force_marking_deque_overflows = true; 88 FLAG_force_marking_deque_overflows = true;
89 FLAG_gc_global = true; 89 FLAG_gc_global = true;
90 FLAG_max_semi_space_size = 1; 90 FLAG_max_semi_space_size = 1;
91 } 91 }
92 92
93 #ifdef V8_USE_DEFAULT_PLATFORM 93 #ifdef V8_USE_DEFAULT_PLATFORM
94 platform_ = new DefaultPlatform; 94 platform_ = new DefaultPlatform;
95 #endif 95 #endif
96 Sampler::SetUp(); 96 Sampler::SetUp();
97 CpuFeatures::Probe(false); 97 CpuFeatures::Probe(false);
98 init_memcopy_functions(); 98 OS::PostSetUp();
99 // The custom exp implementation needs 16KB of lookup data; initialize it 99 // The custom exp implementation needs 16KB of lookup data; initialize it
100 // on demand. 100 // on demand.
101 init_fast_sqrt_function(); 101 init_fast_sqrt_function();
102 #ifdef _WIN64 102 #ifdef _WIN64
103 init_modulo_function(); 103 init_modulo_function();
104 #endif 104 #endif
105 ElementsAccessor::InitializeOncePerProcess(); 105 ElementsAccessor::InitializeOncePerProcess();
106 LOperand::SetUpCaches(); 106 LOperand::SetUpCaches();
107 SetUpJSCallerSavedCodeData(); 107 SetUpJSCallerSavedCodeData();
108 ExternalReference::SetUp(); 108 ExternalReference::SetUp();
(...skipping 18 matching lines...) Expand all
127 platform_ = NULL; 127 platform_ = NULL;
128 } 128 }
129 129
130 130
131 v8::Platform* V8::GetCurrentPlatform() { 131 v8::Platform* V8::GetCurrentPlatform() {
132 ASSERT(platform_); 132 ASSERT(platform_);
133 return platform_; 133 return platform_;
134 } 134 }
135 135
136 } } // namespace v8::internal 136 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/utils.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698