OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 F(ResetLOL, 0, 1) \ | 423 F(ResetLOL, 0, 1) \ |
424 F(SummarizeLOL, 3, 1) | 424 F(SummarizeLOL, 3, 1) |
425 | 425 |
426 #else | 426 #else |
427 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 427 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
428 #endif | 428 #endif |
429 | 429 |
430 #ifdef ENABLE_LOGGING_AND_PROFILING | 430 #ifdef ENABLE_LOGGING_AND_PROFILING |
431 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ | 431 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ |
432 F(ProfilerResume, 0, 1) \ | 432 F(ProfilerResume, 0, 1) \ |
433 F(ProfilerPause, 0, 1) | 433 F(ProfilerPause, 0, 1) \ |
| 434 /* Testing */ \ |
| 435 F(CreateClassWithCallback, 2, 1) \ |
| 436 F(CreateClassWithGetterAndSetter, 3, 1) \ |
| 437 F(LogCompiledFunctions, 0, 1) \ |
| 438 F(CollectGarbage2, 0, 1) |
434 #else | 439 #else |
435 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) | 440 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) |
436 #endif | 441 #endif |
437 | 442 |
438 #ifdef DEBUG | 443 #ifdef DEBUG |
439 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ | 444 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ |
440 /* Testing */ \ | 445 /* Testing */ \ |
441 F(ListNatives, 0, 1) | 446 F(ListNatives, 0, 1) |
442 #else | 447 #else |
443 #define RUNTIME_FUNCTION_LIST_DEBUG(F) | 448 #define RUNTIME_FUNCTION_LIST_DEBUG(F) |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 Handle<Script> script, | 660 Handle<Script> script, |
656 int position); | 661 int position); |
657 | 662 |
658 // Helper functions used stubs. | 663 // Helper functions used stubs. |
659 static void PerformGC(Object* result); | 664 static void PerformGC(Object* result); |
660 }; | 665 }; |
661 | 666 |
662 } } // namespace v8::internal | 667 } } // namespace v8::internal |
663 | 668 |
664 #endif // V8_RUNTIME_H_ | 669 #endif // V8_RUNTIME_H_ |
OLD | NEW |