Remove obsolete static methods from V8 class.
authormstarzinger <mstarzinger@chromium.org>
Fri, 21 Aug 2015 07:41:24 +0000 (00:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 21 Aug 2015 07:41:33 +0000 (07:41 +0000)
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/1303873002

Cr-Commit-Position: refs/heads/master@{#30282}

src/api.cc
src/v8.cc
src/v8.h

index 77201473a3d343ccd1a02c6eb68b3e7c45253048..7937c1b1f11a1dde3d0e1b02d16b4a57b2afbe69 100644 (file)
@@ -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);
 }
 
 
index bd6f2c2b28486d45b0b5164781ad99eb1fefc0c2..c7effb6552752a927217da4c83d994fcb9283b80 100644 (file)
--- 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();
 
index da5fe46154c5734836eb5f18b8bb7317a64c5aa3..9bc3b3cd6a8023bfd4b709a0ea492e6c934d9ebc 100644 (file)
--- 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();