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

Side by Side Diff: src/v8.h

Issue 16578008: Improved function entry hook coverage (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@post_fix
Patch Set: Fix Windows X64 compile warnings." Created 7 years, 5 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/isolate.cc ('k') | src/x64/builtins-x64.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Report process out of memory. Implementation found in api.cc. 94 // Report process out of memory. Implementation found in api.cc.
95 static void FatalProcessOutOfMemory(const char* location, 95 static void FatalProcessOutOfMemory(const char* location,
96 bool take_snapshot = false); 96 bool take_snapshot = false);
97 97
98 // Allows an entropy source to be provided for use in random number 98 // Allows an entropy source to be provided for use in random number
99 // generation. 99 // generation.
100 static void SetEntropySource(EntropySource source); 100 static void SetEntropySource(EntropySource source);
101 // Support for return-address rewriting profilers. 101 // Support for return-address rewriting profilers.
102 static void SetReturnAddressLocationResolver( 102 static void SetReturnAddressLocationResolver(
103 ReturnAddressLocationResolver resolver); 103 ReturnAddressLocationResolver resolver);
104 // Support for entry hooking JITed code.
105 static void SetFunctionEntryHook(FunctionEntryHook entry_hook);
104 // Random number generation support. Not cryptographically safe. 106 // Random number generation support. Not cryptographically safe.
105 static uint32_t Random(Context* context); 107 static uint32_t Random(Context* context);
106 // We use random numbers internally in memory allocation and in the 108 // We use random numbers internally in memory allocation and in the
107 // compilers for security. In order to prevent information leaks we 109 // compilers for security. In order to prevent information leaks we
108 // use a separate random state for internal random number 110 // use a separate random state for internal random number
109 // generation. 111 // generation.
110 static uint32_t RandomPrivate(Isolate* isolate); 112 static uint32_t RandomPrivate(Isolate* isolate);
111 static Object* FillHeapNumberWithRandom(Object* heap_number, 113 static Object* FillHeapNumberWithRandom(Object* heap_number,
112 Context* context); 114 Context* context);
113 115
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 154
153 // JavaScript defines two kinds of 'nil'. 155 // JavaScript defines two kinds of 'nil'.
154 enum NilValue { kNullValue, kUndefinedValue }; 156 enum NilValue { kNullValue, kUndefinedValue };
155 157
156 158
157 } } // namespace v8::internal 159 } } // namespace v8::internal
158 160
159 namespace i = v8::internal; 161 namespace i = v8::internal;
160 162
161 #endif // V8_V8_H_ 163 #endif // V8_V8_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698