| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 Handle<String> full); | 287 Handle<String> full); |
| 288 static int* LookupCounter(const char* name); | 288 static int* LookupCounter(const char* name); |
| 289 static void* CreateHistogram(const char* name, | 289 static void* CreateHistogram(const char* name, |
| 290 int min, | 290 int min, |
| 291 int max, | 291 int max, |
| 292 size_t buckets); | 292 size_t buckets); |
| 293 static void AddHistogramSample(void* histogram, int sample); | 293 static void AddHistogramSample(void* histogram, int sample); |
| 294 static void MapCounters(const char* name); | 294 static void MapCounters(const char* name); |
| 295 | 295 |
| 296 #ifdef ENABLE_DEBUGGER_SUPPORT | 296 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 297 static Handle<Object> DebugMessageDetails(Isolate* isolate, | 297 static Local<Object> DebugMessageDetails(Isolate* isolate, |
| 298 Handle<String> message); | 298 Handle<String> message); |
| 299 static Handle<Value> DebugCommandToJSONRequest(Isolate* isolate, | 299 static Local<Value> DebugCommandToJSONRequest(Isolate* isolate, |
| 300 Handle<String> command); | 300 Handle<String> command); |
| 301 static void DispatchDebugMessages(); | 301 static void DispatchDebugMessages(); |
| 302 #endif // ENABLE_DEBUGGER_SUPPORT | 302 #endif // ENABLE_DEBUGGER_SUPPORT |
| 303 | 303 |
| 304 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); | 304 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 305 #endif // V8_SHARED | 305 #endif // V8_SHARED |
| 306 | 306 |
| 307 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); | 307 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 308 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args); | 308 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 309 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args); | 309 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args); |
| 310 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args); | 310 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 static void ExternalArrayWeakCallback(Isolate* isolate, | 424 static void ExternalArrayWeakCallback(Isolate* isolate, |
| 425 Persistent<Object>* object, | 425 Persistent<Object>* object, |
| 426 uint8_t* data); | 426 uint8_t* data); |
| 427 }; | 427 }; |
| 428 | 428 |
| 429 | 429 |
| 430 } // namespace v8 | 430 } // namespace v8 |
| 431 | 431 |
| 432 | 432 |
| 433 #endif // V8_D8_H_ | 433 #endif // V8_D8_H_ |
| OLD | NEW |