Reviewers: Benedikt Meurer,
Description:
Remove obsolete static methods from V8 class.
[email protected]
Please review this at https://codereview.chromium.org/1303873002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -16 lines):
M src/api.cc
M src/v8.h
M src/v8.cc
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index
77201473a3d343ccd1a02c6eb68b3e7c45253048..7937c1b1f11a1dde3d0e1b02d16b4a57b2afbe69
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);
}
Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index
bd6f2c2b28486d45b0b5164781ad99eb1fefc0c2..c7effb6552752a927217da4c83d994fcb9283b80
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();
Index: src/v8.h
diff --git a/src/v8.h b/src/v8.h
index
da5fe46154c5734836eb5f18b8bb7317a64c5aa3..9bc3b3cd6a8023bfd4b709a0ea492e6c934d9ebc
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();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.