| OLD | NEW |
| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 | 46 |
| 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 | |
| 56 Sampler::TearDown(); | 55 Sampler::TearDown(); |
| 57 } | 56 } |
| 58 | 57 |
| 59 | 58 |
| 60 void V8::SetReturnAddressLocationResolver( | 59 void V8::SetReturnAddressLocationResolver( |
| 61 ReturnAddressLocationResolver resolver) { | 60 ReturnAddressLocationResolver resolver) { |
| 62 StackFrame::SetReturnAddressLocationResolver(resolver); | 61 StackFrame::SetReturnAddressLocationResolver(resolver); |
| 63 } | 62 } |
| 64 | 63 |
| 65 | 64 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 platform_ = NULL; | 113 platform_ = NULL; |
| 115 } | 114 } |
| 116 | 115 |
| 117 | 116 |
| 118 v8::Platform* V8::GetCurrentPlatform() { | 117 v8::Platform* V8::GetCurrentPlatform() { |
| 119 DCHECK(platform_); | 118 DCHECK(platform_); |
| 120 return platform_; | 119 return platform_; |
| 121 } | 120 } |
| 122 | 121 |
| 123 } } // namespace v8::internal | 122 } } // namespace v8::internal |
| OLD | NEW |