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

Side by Side Diff: src/v8.h

Issue 1303873002: Remove obsolete static methods from V8 class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « src/api.cc ('k') | src/v8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #ifndef V8_V8_H_ 5 #ifndef V8_V8_H_
6 #define V8_V8_H_ 6 #define V8_V8_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 10
(...skipping 21 matching lines...) Expand all
32 // Global actions. 32 // Global actions.
33 33
34 static bool Initialize(); 34 static bool Initialize();
35 static void TearDown(); 35 static void TearDown();
36 36
37 // Report process out of memory. Implementation found in api.cc. 37 // Report process out of memory. Implementation found in api.cc.
38 // This function will not return, but will terminate the execution. 38 // This function will not return, but will terminate the execution.
39 static void FatalProcessOutOfMemory(const char* location, 39 static void FatalProcessOutOfMemory(const char* location,
40 bool take_snapshot = false); 40 bool take_snapshot = false);
41 41
42 // Allows an entropy source to be provided for use in random number
43 // generation.
44 static void SetEntropySource(EntropySource source);
45 // Support for return-address rewriting profilers.
46 static void SetReturnAddressLocationResolver(
47 ReturnAddressLocationResolver resolver);
48 // Support for entry hooking JITed code.
49 static void SetFunctionEntryHook(FunctionEntryHook entry_hook);
50
51 static void InitializePlatform(v8::Platform* platform); 42 static void InitializePlatform(v8::Platform* platform);
52 static void ShutdownPlatform(); 43 static void ShutdownPlatform();
53 static v8::Platform* GetCurrentPlatform(); 44 static v8::Platform* GetCurrentPlatform();
54 45
55 static void SetNativesBlob(StartupData* natives_blob); 46 static void SetNativesBlob(StartupData* natives_blob);
56 static void SetSnapshotBlob(StartupData* snapshot_blob); 47 static void SetSnapshotBlob(StartupData* snapshot_blob);
57 48
58 private: 49 private:
59 static void InitializeOncePerProcessImpl(); 50 static void InitializeOncePerProcessImpl();
60 static void InitializeOncePerProcess(); 51 static void InitializeOncePerProcess();
61 52
62 // v8::Platform to use. 53 // v8::Platform to use.
63 static v8::Platform* platform_; 54 static v8::Platform* platform_;
64 }; 55 };
65 56
66 } } // namespace v8::internal 57 } } // namespace v8::internal
67 58
68 #endif // V8_V8_H_ 59 #endif // V8_V8_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698