| 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 static Handle<Array> GetCompletions(Handle<String> text, | 259 static Handle<Array> GetCompletions(Handle<String> text, |
| 260 Handle<String> full); | 260 Handle<String> full); |
| 261 static void OnExit(); | 261 static void OnExit(); |
| 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(const char* name); |
| 269 #endif // V8_SHARED | |
| 270 | 269 |
| 271 #ifdef ENABLE_DEBUGGER_SUPPORT | 270 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 272 static Handle<Object> DebugMessageDetails(Handle<String> message); | 271 static Handle<Object> DebugMessageDetails(Handle<String> message); |
| 273 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command); | 272 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command); |
| 274 #endif | 273 static void DispatchDebugMessages(); |
| 274 #endif // ENABLE_DEBUGGER_SUPPORT |
| 275 #endif // V8_SHARED |
| 275 | 276 |
| 276 #ifdef WIN32 | 277 #ifdef WIN32 |
| 277 #undef Yield | 278 #undef Yield |
| 278 #endif | 279 #endif |
| 279 | 280 |
| 280 static Handle<Value> Print(const Arguments& args); | 281 static Handle<Value> Print(const Arguments& args); |
| 281 static Handle<Value> Write(const Arguments& args); | 282 static Handle<Value> Write(const Arguments& args); |
| 282 static Handle<Value> Yield(const Arguments& args); | 283 static Handle<Value> Yield(const Arguments& args); |
| 283 static Handle<Value> Quit(const Arguments& args); | 284 static Handle<Value> Quit(const Arguments& args); |
| 284 static Handle<Value> Version(const Arguments& args); | 285 static Handle<Value> Version(const Arguments& args); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 ExternalArrayType type, | 365 ExternalArrayType type, |
| 365 size_t element_size); | 366 size_t element_size); |
| 366 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); | 367 static void ExternalArrayWeakCallback(Persistent<Value> object, void* data); |
| 367 }; | 368 }; |
| 368 | 369 |
| 369 | 370 |
| 370 } // namespace v8 | 371 } // namespace v8 |
| 371 | 372 |
| 372 | 373 |
| 373 #endif // V8_D8_H_ | 374 #endif // V8_D8_H_ |
| OLD | NEW |