| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 Result CallStub(CodeStub* stub, int arg_count) { | 300 Result CallStub(CodeStub* stub, int arg_count) { |
| 301 PrepareForCall(arg_count, arg_count); | 301 PrepareForCall(arg_count, arg_count); |
| 302 return RawCallStub(stub); | 302 return RawCallStub(stub); |
| 303 } | 303 } |
| 304 | 304 |
| 305 // Call stub that takes a single argument passed in eax. The | 305 // Call stub that takes a single argument passed in eax. The |
| 306 // argument is given as a result which does not have to be eax or | 306 // argument is given as a result which does not have to be eax or |
| 307 // even a register. The argument is consumed by the call. | 307 // even a register. The argument is consumed by the call. |
| 308 Result CallStub(CodeStub* stub, Result* arg); | 308 Result CallStub(CodeStub* stub, Result* arg); |
| 309 | 309 |
| 310 // Call stub that takes a pair of arguments passed in edx (arg0) and | 310 // Call stub that takes a pair of arguments passed in edx (arg0, rdx) and |
| 311 // eax (arg1). The arguments are given as results which do not have | 311 // eax (arg1, rax). The arguments are given as results which do not have |
| 312 // to be in the proper registers or even in registers. The | 312 // to be in the proper registers or even in registers. The |
| 313 // arguments are consumed by the call. | 313 // arguments are consumed by the call. |
| 314 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); | 314 Result CallStub(CodeStub* stub, Result* arg0, Result* arg1); |
| 315 | 315 |
| 316 // Call runtime given the number of arguments expected on (and | 316 // Call runtime given the number of arguments expected on (and |
| 317 // removed from) the stack. | 317 // removed from) the stack. |
| 318 Result CallRuntime(Runtime::Function* f, int arg_count); | 318 Result CallRuntime(Runtime::Function* f, int arg_count); |
| 319 Result CallRuntime(Runtime::FunctionId id, int arg_count); | 319 Result CallRuntime(Runtime::FunctionId id, int arg_count); |
| 320 | 320 |
| 321 // Invoke builtin given the number of arguments it expects on (and | 321 // Invoke builtin given the number of arguments it expects on (and |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 | 544 |
| 545 // Classes that need raw access to the elements_ array. | 545 // Classes that need raw access to the elements_ array. |
| 546 friend class DeferredCode; | 546 friend class DeferredCode; |
| 547 friend class JumpTarget; | 547 friend class JumpTarget; |
| 548 }; | 548 }; |
| 549 | 549 |
| 550 | 550 |
| 551 } } // namespace v8::internal | 551 } } // namespace v8::internal |
| 552 | 552 |
| 553 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ | 553 #endif // V8_X64_VIRTUAL_FRAME_X64_H_ |
| OLD | NEW |