| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 } | 320 } |
| 321 | 321 |
| 322 // The receiver frame slot. | 322 // The receiver frame slot. |
| 323 Operand Receiver() const { return ParameterAt(-1); } | 323 Operand Receiver() const { return ParameterAt(-1); } |
| 324 | 324 |
| 325 // Push a try-catch or try-finally handler on top of the virtual frame. | 325 // Push a try-catch or try-finally handler on top of the virtual frame. |
| 326 void PushTryHandler(HandlerType type); | 326 void PushTryHandler(HandlerType type); |
| 327 | 327 |
| 328 // Call a code stub, given the number of arguments it expects on (and | 328 // Call a code stub, given the number of arguments it expects on (and |
| 329 // removes from) the top of the physical frame. | 329 // removes from) the top of the physical frame. |
| 330 void CallStub(CodeStub* stub, int frame_arg_count); | 330 Result CallStub(CodeStub* stub, int frame_arg_count); |
| 331 Result CallStub(CodeStub* stub, Result* arg, int frame_arg_count); | 331 Result CallStub(CodeStub* stub, Result* arg, int frame_arg_count); |
| 332 Result CallStub(CodeStub* stub, | 332 Result CallStub(CodeStub* stub, |
| 333 Result* arg0, | 333 Result* arg0, |
| 334 Result* arg1, | 334 Result* arg1, |
| 335 int frame_arg_count); | 335 int frame_arg_count); |
| 336 | 336 |
| 337 // Call the runtime, given the number of arguments expected on (and | 337 // Call the runtime, given the number of arguments expected on (and |
| 338 // removed from) the top of the physical frame. | 338 // removed from) the top of the physical frame. |
| 339 Result CallRuntime(Runtime::Function* f, int frame_arg_count); | 339 Result CallRuntime(Runtime::Function* f, int frame_arg_count); |
| 340 Result CallRuntime(Runtime::FunctionId id, int frame_arg_count); | 340 Result CallRuntime(Runtime::FunctionId id, int frame_arg_count); |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 // Called after all register-to-memory and register-to-register | 522 // Called after all register-to-memory and register-to-register |
| 523 // moves have been made. After this function returns, the frames | 523 // moves have been made. After this function returns, the frames |
| 524 // should be equal. | 524 // should be equal. |
| 525 void MergeMoveMemoryToRegisters(VirtualFrame* expected); | 525 void MergeMoveMemoryToRegisters(VirtualFrame* expected); |
| 526 }; | 526 }; |
| 527 | 527 |
| 528 | 528 |
| 529 } } // namespace v8::internal | 529 } } // namespace v8::internal |
| 530 | 530 |
| 531 #endif // V8_VIRTUAL_FRAME_IA32_H_ | 531 #endif // V8_VIRTUAL_FRAME_IA32_H_ |
| OLD | NEW |