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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 F(PrintLOLObj, 1, 1) \ | 406 F(PrintLOLObj, 1, 1) \ |
407 F(ResetLOL, 0, 1) \ | 407 F(ResetLOL, 0, 1) \ |
408 F(SummarizeLOL, 3, 1) | 408 F(SummarizeLOL, 3, 1) |
409 | 409 |
410 #else | 410 #else |
411 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 411 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
412 #endif | 412 #endif |
413 | 413 |
414 #ifdef ENABLE_LOGGING_AND_PROFILING | 414 #ifdef ENABLE_LOGGING_AND_PROFILING |
415 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ | 415 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ |
416 F(ProfilerResume, 2, 1) \ | 416 F(ProfilerResume, 0, 1) \ |
417 F(ProfilerPause, 2, 1) | 417 F(ProfilerPause, 0, 1) |
418 #else | 418 #else |
419 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) | 419 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) |
420 #endif | 420 #endif |
421 | 421 |
422 #ifdef DEBUG | 422 #ifdef DEBUG |
423 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ | 423 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ |
424 /* Testing */ \ | 424 /* Testing */ \ |
425 F(ListNatives, 0, 1) | 425 F(ListNatives, 0, 1) |
426 #else | 426 #else |
427 #define RUNTIME_FUNCTION_LIST_DEBUG(F) | 427 #define RUNTIME_FUNCTION_LIST_DEBUG(F) |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 Handle<Script> script, | 646 Handle<Script> script, |
647 int position); | 647 int position); |
648 | 648 |
649 // Helper functions used stubs. | 649 // Helper functions used stubs. |
650 static void PerformGC(Object* result); | 650 static void PerformGC(Object* result); |
651 }; | 651 }; |
652 | 652 |
653 } } // namespace v8::internal | 653 } } // namespace v8::internal |
654 | 654 |
655 #endif // V8_RUNTIME_H_ | 655 #endif // V8_RUNTIME_H_ |
OLD | NEW |