| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 F(TransformToFastProperties, 1, 1) \ | 251 F(TransformToFastProperties, 1, 1) \ |
| 252 \ | 252 \ |
| 253 /* Debugging */ \ | 253 /* Debugging */ \ |
| 254 F(DebugPrint, 1, 1) \ | 254 F(DebugPrint, 1, 1) \ |
| 255 F(DebugTrace, 0, 1) \ | 255 F(DebugTrace, 0, 1) \ |
| 256 F(TraceEnter, 0, 1) \ | 256 F(TraceEnter, 0, 1) \ |
| 257 F(TraceExit, 1, 1) \ | 257 F(TraceExit, 1, 1) \ |
| 258 F(Abort, 2, 1) \ | 258 F(Abort, 2, 1) \ |
| 259 /* Logging */ \ | 259 /* Logging */ \ |
| 260 F(Log, 2, 1) \ | 260 F(Log, 2, 1) \ |
| 261 /* ES5 */ \ |
| 262 F(LocalKeys, 1, 1) \ |
| 261 \ | 263 \ |
| 262 /* Pseudo functions - handled as macros by parser */ \ | 264 /* Pseudo functions - handled as macros by parser */ \ |
| 263 F(IS_VAR, 1, 1) | 265 F(IS_VAR, 1, 1) |
| 264 | 266 |
| 265 #ifdef ENABLE_DEBUGGER_SUPPORT | 267 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 266 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ | 268 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ |
| 267 /* Debugger support*/ \ | 269 /* Debugger support*/ \ |
| 268 F(DebugBreak, 0, 1) \ | 270 F(DebugBreak, 0, 1) \ |
| 269 F(SetDebugEventListener, 2, 1) \ | 271 F(SetDebugEventListener, 2, 1) \ |
| 270 F(Break, 0, 1) \ | 272 F(Break, 0, 1) \ |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 int position); | 401 int position); |
| 400 | 402 |
| 401 // Helper functions used stubs. | 403 // Helper functions used stubs. |
| 402 static void PerformGC(Object* result); | 404 static void PerformGC(Object* result); |
| 403 }; | 405 }; |
| 404 | 406 |
| 405 | 407 |
| 406 } } // namespace v8::internal | 408 } } // namespace v8::internal |
| 407 | 409 |
| 408 #endif // V8_RUNTIME_H_ | 410 #endif // V8_RUNTIME_H_ |
| OLD | NEW |