OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 Forget(arg_count); | 290 Forget(arg_count); |
291 ASSERT(cgen()->HasValidEntryRegisters()); | 291 ASSERT(cgen()->HasValidEntryRegisters()); |
292 masm()->CallStub(stub); | 292 masm()->CallStub(stub); |
293 } | 293 } |
294 | 294 |
295 // Call runtime given the number of arguments expected on (and | 295 // Call runtime given the number of arguments expected on (and |
296 // removed from) the stack. | 296 // removed from) the stack. |
297 void CallRuntime(Runtime::Function* f, int arg_count); | 297 void CallRuntime(Runtime::Function* f, int arg_count); |
298 void CallRuntime(Runtime::FunctionId id, int arg_count); | 298 void CallRuntime(Runtime::FunctionId id, int arg_count); |
299 | 299 |
| 300 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 301 void DebugBreak(); |
| 302 #endif |
| 303 |
300 // Invoke builtin given the number of arguments it expects on (and | 304 // Invoke builtin given the number of arguments it expects on (and |
301 // removes from) the stack. | 305 // removes from) the stack. |
302 void InvokeBuiltin(Builtins::JavaScript id, | 306 void InvokeBuiltin(Builtins::JavaScript id, |
303 InvokeJSFlags flag, | 307 InvokeJSFlags flag, |
304 int arg_count); | 308 int arg_count); |
305 | 309 |
306 // Call into an IC stub given the number of arguments it removes | 310 // Call into an IC stub given the number of arguments it removes |
307 // from the stack. Register arguments to the IC stub are implicit, | 311 // from the stack. Register arguments to the IC stub are implicit, |
308 // and depend on the type of IC stub. | 312 // and depend on the type of IC stub. |
309 void CallCodeObject(Handle<Code> ic, | 313 void CallCodeObject(Handle<Code> ic, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 | 503 |
500 // Classes that need raw access to the elements_ array. | 504 // Classes that need raw access to the elements_ array. |
501 friend class DeferredCode; | 505 friend class DeferredCode; |
502 friend class JumpTarget; | 506 friend class JumpTarget; |
503 }; | 507 }; |
504 | 508 |
505 | 509 |
506 } } // namespace v8::internal | 510 } } // namespace v8::internal |
507 | 511 |
508 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 512 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
OLD | NEW |