OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_D8_H_ | 5 #ifndef V8_D8_H_ |
6 #define V8_D8_H_ | 6 #define V8_D8_H_ |
7 | 7 |
8 #ifndef V8_SHARED | 8 #ifndef V8_SHARED |
9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
10 #include "src/hashmap.h" | 10 #include "src/hashmap.h" |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 #ifndef V8_SHARED | 262 #ifndef V8_SHARED |
263 static Handle<Array> GetCompletions(Isolate* isolate, | 263 static Handle<Array> GetCompletions(Isolate* isolate, |
264 Handle<String> text, | 264 Handle<String> text, |
265 Handle<String> full); | 265 Handle<String> full); |
266 static int* LookupCounter(const char* name); | 266 static int* LookupCounter(const char* name); |
267 static void* CreateHistogram(const char* name, | 267 static void* CreateHistogram(const char* name, |
268 int min, | 268 int min, |
269 int max, | 269 int max, |
270 size_t buckets); | 270 size_t buckets); |
271 static void AddHistogramSample(void* histogram, int sample); | 271 static void AddHistogramSample(void* histogram, int sample); |
272 static void MapCounters(const char* name); | 272 static void MapCounters(v8::Isolate* isolate, const char* name); |
273 | 273 |
274 static Local<Object> DebugMessageDetails(Isolate* isolate, | 274 static Local<Object> DebugMessageDetails(Isolate* isolate, |
275 Handle<String> message); | 275 Handle<String> message); |
276 static Local<Value> DebugCommandToJSONRequest(Isolate* isolate, | 276 static Local<Value> DebugCommandToJSONRequest(Isolate* isolate, |
277 Handle<String> command); | 277 Handle<String> command); |
278 | 278 |
279 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); | 279 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); |
280 #endif // !V8_SHARED | 280 #endif // !V8_SHARED |
281 | 281 |
282 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); | 282 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 static void ExternalArrayWeakCallback(Isolate* isolate, | 399 static void ExternalArrayWeakCallback(Isolate* isolate, |
400 Persistent<Object>* object, | 400 Persistent<Object>* object, |
401 uint8_t* data); | 401 uint8_t* data); |
402 }; | 402 }; |
403 | 403 |
404 | 404 |
405 } // namespace v8 | 405 } // namespace v8 |
406 | 406 |
407 | 407 |
408 #endif // V8_D8_H_ | 408 #endif // V8_D8_H_ |
OLD | NEW |