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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 #ifndef V8_SHARED | 258 #ifndef V8_SHARED |
259 static Handle<Array> GetCompletions(Isolate* isolate, | 259 static Handle<Array> GetCompletions(Isolate* isolate, |
260 Handle<String> text, | 260 Handle<String> text, |
261 Handle<String> full); | 261 Handle<String> full); |
262 static int* LookupCounter(const char* name); | 262 static int* LookupCounter(const char* name); |
263 static void* CreateHistogram(const char* name, | 263 static void* CreateHistogram(const char* name, |
264 int min, | 264 int min, |
265 int max, | 265 int max, |
266 size_t buckets); | 266 size_t buckets); |
267 static void AddHistogramSample(void* histogram, int sample); | 267 static void AddHistogramSample(void* histogram, int sample); |
268 static void MapCounters(const char* name); | 268 static void MapCounters(v8::Isolate* isolate, const char* name); |
269 | 269 |
270 static Local<Object> DebugMessageDetails(Isolate* isolate, | 270 static Local<Object> DebugMessageDetails(Isolate* isolate, |
271 Handle<String> message); | 271 Handle<String> message); |
272 static Local<Value> DebugCommandToJSONRequest(Isolate* isolate, | 272 static Local<Value> DebugCommandToJSONRequest(Isolate* isolate, |
273 Handle<String> command); | 273 Handle<String> command); |
274 | 274 |
275 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); | 275 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); |
276 #endif // !V8_SHARED | 276 #endif // !V8_SHARED |
277 | 277 |
278 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); | 278 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 static void ExternalArrayWeakCallback(Isolate* isolate, | 395 static void ExternalArrayWeakCallback(Isolate* isolate, |
396 Persistent<Object>* object, | 396 Persistent<Object>* object, |
397 uint8_t* data); | 397 uint8_t* data); |
398 }; | 398 }; |
399 | 399 |
400 | 400 |
401 } // namespace v8 | 401 } // namespace v8 |
402 | 402 |
403 | 403 |
404 #endif // V8_D8_H_ | 404 #endif // V8_D8_H_ |
OLD | NEW |