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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 // argument is given as a result which does not have to be eax or | 311 // argument is given as a result which does not have to be eax or |
312 // even a register. The argument is consumed by the call. | 312 // even a register. The argument is consumed by the call. |
313 Result CallStub(CodeStub* stub, Result* arg); | 313 Result CallStub(CodeStub* stub, Result* arg); |
314 | 314 |
315 // Call stub that takes a pair of arguments passed in edx (arg0, rdx) and | 315 // Call stub that takes a pair of arguments passed in edx (arg0, rdx) and |
316 // eax (arg1, rax). The arguments are given as results which do not have | 316 // eax (arg1, rax). The arguments are given as results which do not have |
317 // to be in the proper registers or even in registers. The | 317 // to be in the proper registers or even in registers. The |
318 // arguments are consumed by the call. | 318 // arguments are consumed by the call. |
319 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); | 319 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); |
320 | 320 |
| 321 // Call JS function from top of the stack with arguments |
| 322 // taken from the stack. |
| 323 Result CallJSFunction(int arg_count); |
| 324 |
321 // Call runtime given the number of arguments expected on (and | 325 // Call runtime given the number of arguments expected on (and |
322 // removed from) the stack. | 326 // removed from) the stack. |
323 Result CallRuntime(Runtime::Function* f, int arg_count); | 327 Result CallRuntime(Runtime::Function* f, int arg_count); |
324 Result CallRuntime(Runtime::FunctionId id, int arg_count); | 328 Result CallRuntime(Runtime::FunctionId id, int arg_count); |
325 | 329 |
326 #ifdef ENABLE_DEBUGGER_SUPPORT | 330 #ifdef ENABLE_DEBUGGER_SUPPORT |
327 void DebugBreak(); | 331 void DebugBreak(); |
328 #endif | 332 #endif |
329 | 333 |
330 // Invoke builtin given the number of arguments it expects on (and | 334 // Invoke builtin given the number of arguments it expects on (and |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 | 568 |
565 // Classes that need raw access to the elements_ array. | 569 // Classes that need raw access to the elements_ array. |
566 friend class DeferredCode; | 570 friend class DeferredCode; |
567 friend class JumpTarget; | 571 friend class JumpTarget; |
568 }; | 572 }; |
569 | 573 |
570 | 574 |
571 } } // namespace v8::internal | 575 } } // namespace v8::internal |
572 | 576 |
573 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ | 577 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ |
OLD | NEW |