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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 F(FunctionSetInstanceClassName, 2, 1) \ | 164 F(FunctionSetInstanceClassName, 2, 1) \ |
165 F(FunctionSetLength, 2, 1) \ | 165 F(FunctionSetLength, 2, 1) \ |
166 F(FunctionSetPrototype, 2, 1) \ | 166 F(FunctionSetPrototype, 2, 1) \ |
167 F(FunctionGetName, 1, 1) \ | 167 F(FunctionGetName, 1, 1) \ |
168 F(FunctionSetName, 2, 1) \ | 168 F(FunctionSetName, 2, 1) \ |
169 F(FunctionGetSourceCode, 1, 1) \ | 169 F(FunctionGetSourceCode, 1, 1) \ |
170 F(FunctionGetScript, 1, 1) \ | 170 F(FunctionGetScript, 1, 1) \ |
171 F(FunctionGetScriptSourcePosition, 1, 1) \ | 171 F(FunctionGetScriptSourcePosition, 1, 1) \ |
172 F(FunctionGetPositionForOffset, 2, 1) \ | 172 F(FunctionGetPositionForOffset, 2, 1) \ |
173 F(FunctionIsAPIFunction, 1, 1) \ | 173 F(FunctionIsAPIFunction, 1, 1) \ |
| 174 F(FunctionIsBuiltin, 1, 1) \ |
174 F(GetScript, 1, 1) \ | 175 F(GetScript, 1, 1) \ |
175 F(CollectStackTrace, 2, 1) \ | 176 F(CollectStackTrace, 2, 1) \ |
176 \ | 177 \ |
177 F(ClassOf, 1, 1) \ | 178 F(ClassOf, 1, 1) \ |
178 F(SetCode, 2, 1) \ | 179 F(SetCode, 2, 1) \ |
179 \ | 180 \ |
180 F(CreateApiFunction, 1, 1) \ | 181 F(CreateApiFunction, 1, 1) \ |
181 F(IsTemplate, 1, 1) \ | 182 F(IsTemplate, 1, 1) \ |
182 F(GetTemplateField, 2, 1) \ | 183 F(GetTemplateField, 2, 1) \ |
183 F(DisableAccessChecks, 1, 1) \ | 184 F(DisableAccessChecks, 1, 1) \ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 F(TransformToFastProperties, 1, 1) \ | 252 F(TransformToFastProperties, 1, 1) \ |
252 \ | 253 \ |
253 /* Debugging */ \ | 254 /* Debugging */ \ |
254 F(DebugPrint, 1, 1) \ | 255 F(DebugPrint, 1, 1) \ |
255 F(DebugTrace, 0, 1) \ | 256 F(DebugTrace, 0, 1) \ |
256 F(TraceEnter, 0, 1) \ | 257 F(TraceEnter, 0, 1) \ |
257 F(TraceExit, 1, 1) \ | 258 F(TraceExit, 1, 1) \ |
258 F(Abort, 2, 1) \ | 259 F(Abort, 2, 1) \ |
259 /* Logging */ \ | 260 /* Logging */ \ |
260 F(Log, 2, 1) \ | 261 F(Log, 2, 1) \ |
| 262 /* ES5 */ \ |
| 263 F(LocalKeys, 1, 1) \ |
261 \ | 264 \ |
262 /* Pseudo functions - handled as macros by parser */ \ | 265 /* Pseudo functions - handled as macros by parser */ \ |
263 F(IS_VAR, 1, 1) | 266 F(IS_VAR, 1, 1) |
264 | 267 |
265 #ifdef ENABLE_DEBUGGER_SUPPORT | 268 #ifdef ENABLE_DEBUGGER_SUPPORT |
266 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ | 269 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ |
267 /* Debugger support*/ \ | 270 /* Debugger support*/ \ |
268 F(DebugBreak, 0, 1) \ | 271 F(DebugBreak, 0, 1) \ |
269 F(SetDebugEventListener, 2, 1) \ | 272 F(SetDebugEventListener, 2, 1) \ |
270 F(Break, 0, 1) \ | 273 F(Break, 0, 1) \ |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 int position); | 402 int position); |
400 | 403 |
401 // Helper functions used stubs. | 404 // Helper functions used stubs. |
402 static void PerformGC(Object* result); | 405 static void PerformGC(Object* result); |
403 }; | 406 }; |
404 | 407 |
405 | 408 |
406 } } // namespace v8::internal | 409 } } // namespace v8::internal |
407 | 410 |
408 #endif // V8_RUNTIME_H_ | 411 #endif // V8_RUNTIME_H_ |
OLD | NEW |