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

Side by Side Diff: src/v8.cc

Issue 1303873002: Remove obsolete static methods from V8 class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « src/v8.h ('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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/assembler.h" 7 #include "src/assembler.h"
8 #include "src/base/once.h" 8 #include "src/base/once.h"
9 #include "src/base/platform/platform.h" 9 #include "src/base/platform/platform.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 ElementsAccessor::TearDown(); 48 ElementsAccessor::TearDown();
49 LOperand::TearDownCaches(); 49 LOperand::TearDownCaches();
50 ExternalReference::TearDownMathExpData(); 50 ExternalReference::TearDownMathExpData();
51 RegisteredExtension::UnregisterAll(); 51 RegisteredExtension::UnregisterAll();
52 Isolate::GlobalTearDown(); 52 Isolate::GlobalTearDown();
53 Sampler::TearDown(); 53 Sampler::TearDown();
54 FlagList::ResetAllFlags(); // Frees memory held by string arguments. 54 FlagList::ResetAllFlags(); // Frees memory held by string arguments.
55 } 55 }
56 56
57 57
58 void V8::SetReturnAddressLocationResolver(
59 ReturnAddressLocationResolver resolver) {
60 StackFrame::SetReturnAddressLocationResolver(resolver);
61 }
62
63
64 void V8::InitializeOncePerProcessImpl() { 58 void V8::InitializeOncePerProcessImpl() {
65 FlagList::EnforceFlagImplications(); 59 FlagList::EnforceFlagImplications();
66 60
67 if (FLAG_predictable && FLAG_random_seed == 0) { 61 if (FLAG_predictable && FLAG_random_seed == 0) {
68 // Avoid random seeds in predictable mode. 62 // Avoid random seeds in predictable mode.
69 FLAG_random_seed = 12347; 63 FLAG_random_seed = 12347;
70 } 64 }
71 65
72 if (FLAG_stress_compaction) { 66 if (FLAG_stress_compaction) {
73 FLAG_force_marking_deque_overflows = true; 67 FLAG_force_marking_deque_overflows = true;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 130
137 void V8::SetSnapshotBlob(StartupData* snapshot_blob) { 131 void V8::SetSnapshotBlob(StartupData* snapshot_blob) {
138 #ifdef V8_USE_EXTERNAL_STARTUP_DATA 132 #ifdef V8_USE_EXTERNAL_STARTUP_DATA
139 base::CallOnce(&init_snapshot_once, &SetSnapshotFromFile, snapshot_blob); 133 base::CallOnce(&init_snapshot_once, &SetSnapshotFromFile, snapshot_blob);
140 #else 134 #else
141 CHECK(false); 135 CHECK(false);
142 #endif 136 #endif
143 } 137 }
144 } // namespace internal 138 } // namespace internal
145 } // namespace v8 139 } // namespace v8
OLDNEW
« no previous file with comments | « src/v8.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698