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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 void PushTryHandler(HandlerType type); | 259 void PushTryHandler(HandlerType type); |
260 | 260 |
261 // Call stub given the number of arguments it expects on (and | 261 // Call stub given the number of arguments it expects on (and |
262 // removes from) the stack. | 262 // removes from) the stack. |
263 void CallStub(CodeStub* stub, int arg_count) { | 263 void CallStub(CodeStub* stub, int arg_count) { |
264 Forget(arg_count); | 264 Forget(arg_count); |
265 ASSERT(cgen()->HasValidEntryRegisters()); | 265 ASSERT(cgen()->HasValidEntryRegisters()); |
266 masm()->CallStub(stub); | 266 masm()->CallStub(stub); |
267 } | 267 } |
268 | 268 |
| 269 // Call JS function from top of the stack with arguments |
| 270 // taken from the stack. |
| 271 void CallJSFunction(int arg_count); |
| 272 |
269 // Call runtime given the number of arguments expected on (and | 273 // Call runtime given the number of arguments expected on (and |
270 // removed from) the stack. | 274 // removed from) the stack. |
271 void CallRuntime(Runtime::Function* f, int arg_count); | 275 void CallRuntime(Runtime::Function* f, int arg_count); |
272 void CallRuntime(Runtime::FunctionId id, int arg_count); | 276 void CallRuntime(Runtime::FunctionId id, int arg_count); |
273 | 277 |
274 #ifdef ENABLE_DEBUGGER_SUPPORT | 278 #ifdef ENABLE_DEBUGGER_SUPPORT |
275 void DebugBreak(); | 279 void DebugBreak(); |
276 #endif | 280 #endif |
277 | 281 |
278 // Invoke builtin given the number of arguments it expects on (and | 282 // Invoke builtin given the number of arguments it expects on (and |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 inline bool Equals(VirtualFrame* other); | 462 inline bool Equals(VirtualFrame* other); |
459 | 463 |
460 friend class JumpTarget; | 464 friend class JumpTarget; |
461 friend class DeferredCode; | 465 friend class DeferredCode; |
462 }; | 466 }; |
463 | 467 |
464 | 468 |
465 } } // namespace v8::internal | 469 } } // namespace v8::internal |
466 | 470 |
467 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 471 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
OLD | NEW |