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

Side by Side Diff: src/v8.cc

Issue 505103003: Fix memory leak. Make "V8 Linux - memcheck" build bot happy. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | « no previous file | 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void V8::TearDown() { 47 void V8::TearDown() {
48 Bootstrapper::TearDownExtensions(); 48 Bootstrapper::TearDownExtensions();
49 ElementsAccessor::TearDown(); 49 ElementsAccessor::TearDown();
50 LOperand::TearDownCaches(); 50 LOperand::TearDownCaches();
51 compiler::Pipeline::TearDown(); 51 compiler::Pipeline::TearDown();
52 ExternalReference::TearDownMathExpData(); 52 ExternalReference::TearDownMathExpData();
53 RegisteredExtension::UnregisterAll(); 53 RegisteredExtension::UnregisterAll();
54 Isolate::GlobalTearDown(); 54 Isolate::GlobalTearDown();
55 55
56 Sampler::TearDown(); 56 Sampler::TearDown();
57 FlagList::ResetAllFlags(); // Frees memory held by string arguments.
57 } 58 }
58 59
59 60
60 void V8::SetReturnAddressLocationResolver( 61 void V8::SetReturnAddressLocationResolver(
61 ReturnAddressLocationResolver resolver) { 62 ReturnAddressLocationResolver resolver) {
62 StackFrame::SetReturnAddressLocationResolver(resolver); 63 StackFrame::SetReturnAddressLocationResolver(resolver);
63 } 64 }
64 65
65 66
66 void V8::InitializeOncePerProcessImpl() { 67 void V8::InitializeOncePerProcessImpl() {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 platform_ = NULL; 115 platform_ = NULL;
115 } 116 }
116 117
117 118
118 v8::Platform* V8::GetCurrentPlatform() { 119 v8::Platform* V8::GetCurrentPlatform() {
119 DCHECK(platform_); 120 DCHECK(platform_);
120 return platform_; 121 return platform_;
121 } 122 }
122 123
123 } } // namespace v8::internal 124 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698