| 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 "allocation.h" | 9 #include "allocation.h" |
| 10 #include "hashmap.h" | 10 #include "hashmap.h" |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 int min, | 258 int min, |
| 259 int max, | 259 int max, |
| 260 size_t buckets); | 260 size_t buckets); |
| 261 static void AddHistogramSample(void* histogram, int sample); | 261 static void AddHistogramSample(void* histogram, int sample); |
| 262 static void MapCounters(const char* name); | 262 static void MapCounters(const char* name); |
| 263 | 263 |
| 264 static Local<Object> DebugMessageDetails(Isolate* isolate, | 264 static Local<Object> DebugMessageDetails(Isolate* isolate, |
| 265 Handle<String> message); | 265 Handle<String> message); |
| 266 static Local<Value> DebugCommandToJSONRequest(Isolate* isolate, | 266 static Local<Value> DebugCommandToJSONRequest(Isolate* isolate, |
| 267 Handle<String> command); | 267 Handle<String> command); |
| 268 static void DispatchDebugMessages(); | |
| 269 | 268 |
| 270 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); | 269 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 271 #endif // !V8_SHARED | 270 #endif // !V8_SHARED |
| 272 | 271 |
| 273 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); | 272 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 274 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args); | 273 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 275 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args); | 274 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 276 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args); | 275 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 277 static void RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args); | 276 static void RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 278 static void RealmSwitch(const v8::FunctionCallbackInfo<v8::Value>& args); | 277 static void RealmSwitch(const v8::FunctionCallbackInfo<v8::Value>& args); |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 static void ExternalArrayWeakCallback(Isolate* isolate, | 389 static void ExternalArrayWeakCallback(Isolate* isolate, |
| 391 Persistent<Object>* object, | 390 Persistent<Object>* object, |
| 392 uint8_t* data); | 391 uint8_t* data); |
| 393 }; | 392 }; |
| 394 | 393 |
| 395 | 394 |
| 396 } // namespace v8 | 395 } // namespace v8 |
| 397 | 396 |
| 398 | 397 |
| 399 #endif // V8_D8_H_ | 398 #endif // V8_D8_H_ |
| OLD | NEW |