| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 Handle<String> full); | 285 Handle<String> full); |
| 286 static int* LookupCounter(const char* name); | 286 static int* LookupCounter(const char* name); |
| 287 static void* CreateHistogram(const char* name, | 287 static void* CreateHistogram(const char* name, |
| 288 int min, | 288 int min, |
| 289 int max, | 289 int max, |
| 290 size_t buckets); | 290 size_t buckets); |
| 291 static void AddHistogramSample(void* histogram, int sample); | 291 static void AddHistogramSample(void* histogram, int sample); |
| 292 static void MapCounters(const char* name); | 292 static void MapCounters(const char* name); |
| 293 | 293 |
| 294 #ifdef ENABLE_DEBUGGER_SUPPORT | 294 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 295 static Handle<Object> DebugMessageDetails(Handle<String> message); | 295 static Handle<Object> DebugMessageDetails(Isolate* isolate, |
| 296 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command); | 296 Handle<String> message); |
| 297 static Handle<Value> DebugCommandToJSONRequest(Isolate* isolate, |
| 298 Handle<String> command); |
| 297 static void DispatchDebugMessages(); | 299 static void DispatchDebugMessages(); |
| 298 #endif // ENABLE_DEBUGGER_SUPPORT | 300 #endif // ENABLE_DEBUGGER_SUPPORT |
| 299 #endif // V8_SHARED | 301 #endif // V8_SHARED |
| 300 | 302 |
| 301 static Handle<Value> RealmCurrent(const Arguments& args); | 303 static Handle<Value> RealmCurrent(const Arguments& args); |
| 302 static Handle<Value> RealmOwner(const Arguments& args); | 304 static Handle<Value> RealmOwner(const Arguments& args); |
| 303 static Handle<Value> RealmGlobal(const Arguments& args); | 305 static Handle<Value> RealmGlobal(const Arguments& args); |
| 304 static Handle<Value> RealmCreate(const Arguments& args); | 306 static Handle<Value> RealmCreate(const Arguments& args); |
| 305 static Handle<Value> RealmDispose(const Arguments& args); | 307 static Handle<Value> RealmDispose(const Arguments& args); |
| 306 static Handle<Value> RealmSwitch(const Arguments& args); | 308 static Handle<Value> RealmSwitch(const Arguments& args); |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 static void ExternalArrayWeakCallback(Isolate* isolate, | 418 static void ExternalArrayWeakCallback(Isolate* isolate, |
| 417 Persistent<Value> object, | 419 Persistent<Value> object, |
| 418 void* data); | 420 void* data); |
| 419 }; | 421 }; |
| 420 | 422 |
| 421 | 423 |
| 422 } // namespace v8 | 424 } // namespace v8 |
| 423 | 425 |
| 424 | 426 |
| 425 #endif // V8_D8_H_ | 427 #endif // V8_D8_H_ |
| OLD | NEW |