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

Side by Side Diff: src/v8.h

Issue 18062006: Revert r15361 "Improved function entry hook coverage" because of ARM build error. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | Annotate | Revision Log
« 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);
106 // Random number generation support. Not cryptographically safe. 104 // Random number generation support. Not cryptographically safe.
107 static uint32_t Random(Context* context); 105 static uint32_t Random(Context* context);
108 // We use random numbers internally in memory allocation and in the 106 // We use random numbers internally in memory allocation and in the
109 // compilers for security. In order to prevent information leaks we 107 // compilers for security. In order to prevent information leaks we
110 // use a separate random state for internal random number 108 // use a separate random state for internal random number
111 // generation. 109 // generation.
112 static uint32_t RandomPrivate(Isolate* isolate); 110 static uint32_t RandomPrivate(Isolate* isolate);
113 static Object* FillHeapNumberWithRandom(Object* heap_number, 111 static Object* FillHeapNumberWithRandom(Object* heap_number,
114 Context* context); 112 Context* context);
115 113
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 152
155 // JavaScript defines two kinds of 'nil'. 153 // JavaScript defines two kinds of 'nil'.
156 enum NilValue { kNullValue, kUndefinedValue }; 154 enum NilValue { kNullValue, kUndefinedValue };
157 155
158 156
159 } } // namespace v8::internal 157 } } // namespace v8::internal
160 158
161 namespace i = v8::internal; 159 namespace i = v8::internal;
162 160
163 #endif // V8_V8_H_ 161 #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