| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 F(SystemBreak, 0, 1) \ | 321 F(SystemBreak, 0, 1) \ |
| 322 F(DebugDisassembleFunction, 1, 1) \ | 322 F(DebugDisassembleFunction, 1, 1) \ |
| 323 F(DebugDisassembleConstructor, 1, 1) \ | 323 F(DebugDisassembleConstructor, 1, 1) \ |
| 324 F(FunctionGetInferredName, 1, 1) | 324 F(FunctionGetInferredName, 1, 1) |
| 325 #else | 325 #else |
| 326 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 326 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
| 327 #endif | 327 #endif |
| 328 | 328 |
| 329 #ifdef ENABLE_LOGGING_AND_PROFILING | 329 #ifdef ENABLE_LOGGING_AND_PROFILING |
| 330 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ | 330 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ |
| 331 F(ProfilerResume, 1, 1) \ | 331 F(ProfilerResume, 2, 1) \ |
| 332 F(ProfilerPause, 1, 1) | 332 F(ProfilerPause, 2, 1) |
| 333 #else | 333 #else |
| 334 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) | 334 #define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) |
| 335 #endif | 335 #endif |
| 336 | 336 |
| 337 #ifdef DEBUG | 337 #ifdef DEBUG |
| 338 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ | 338 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ |
| 339 /* Testing */ \ | 339 /* Testing */ \ |
| 340 F(ListNatives, 0, 1) | 340 F(ListNatives, 0, 1) |
| 341 #else | 341 #else |
| 342 #define RUNTIME_FUNCTION_LIST_DEBUG(F) | 342 #define RUNTIME_FUNCTION_LIST_DEBUG(F) |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 int position); | 421 int position); |
| 422 | 422 |
| 423 // Helper functions used stubs. | 423 // Helper functions used stubs. |
| 424 static void PerformGC(Object* result); | 424 static void PerformGC(Object* result); |
| 425 }; | 425 }; |
| 426 | 426 |
| 427 | 427 |
| 428 } } // namespace v8::internal | 428 } } // namespace v8::internal |
| 429 | 429 |
| 430 #endif // V8_RUNTIME_H_ | 430 #endif // V8_RUNTIME_H_ |
| OLD | NEW |