From 01579c6ebb3b2696618361686fe18d0b6998cce8 Mon Sep 17 00:00:00 2001 From: mstarzinger Date: Fri, 21 Aug 2015 00:41:24 -0700 Subject: [PATCH] Remove obsolete static methods from V8 class. R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/1303873002 Cr-Commit-Position: refs/heads/master@{#30282} --- src/api.cc | 2 +- src/v8.cc | 6 ------ src/v8.h | 9 --------- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/api.cc b/src/api.cc index 7720147..7937c1b 100644 --- a/src/api.cc +++ b/src/api.cc @@ -5337,7 +5337,7 @@ void v8::V8::SetEntropySource(EntropySource entropy_source) { void v8::V8::SetReturnAddressLocationResolver( ReturnAddressLocationResolver return_address_resolver) { - i::V8::SetReturnAddressLocationResolver(return_address_resolver); + i::StackFrame::SetReturnAddressLocationResolver(return_address_resolver); } diff --git a/src/v8.cc b/src/v8.cc index bd6f2c2..c7effb6 100644 --- a/src/v8.cc +++ b/src/v8.cc @@ -55,12 +55,6 @@ void V8::TearDown() { } -void V8::SetReturnAddressLocationResolver( - ReturnAddressLocationResolver resolver) { - StackFrame::SetReturnAddressLocationResolver(resolver); -} - - void V8::InitializeOncePerProcessImpl() { FlagList::EnforceFlagImplications(); diff --git a/src/v8.h b/src/v8.h index da5fe46..9bc3b3c 100644 --- a/src/v8.h +++ b/src/v8.h @@ -39,15 +39,6 @@ class V8 : public AllStatic { static void FatalProcessOutOfMemory(const char* location, bool take_snapshot = false); - // Allows an entropy source to be provided for use in random number - // generation. - static void SetEntropySource(EntropySource source); - // Support for return-address rewriting profilers. - static void SetReturnAddressLocationResolver( - ReturnAddressLocationResolver resolver); - // Support for entry hooking JITed code. - static void SetFunctionEntryHook(FunctionEntryHook entry_hook); - static void InitializePlatform(v8::Platform* platform); static void ShutdownPlatform(); static v8::Platform* GetCurrentPlatform(); -- 2.7.4