| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 Register scratch, | 278 Register scratch, |
| 279 Label* miss); | 279 Label* miss); |
| 280 | 280 |
| 281 // Generates code for reporting that an illegal operation has | 281 // Generates code for reporting that an illegal operation has |
| 282 // occurred. | 282 // occurred. |
| 283 void IllegalOperation(int num_arguments); | 283 void IllegalOperation(int num_arguments); |
| 284 | 284 |
| 285 // --------------------------------------------------------------------------- | 285 // --------------------------------------------------------------------------- |
| 286 // Runtime calls | 286 // Runtime calls |
| 287 | 287 |
| 288 // Call a code stub. | 288 // Call a code stub. Generate the code if necessary. |
| 289 void CallStub(CodeStub* stub); | 289 void CallStub(CodeStub* stub); |
| 290 | 290 |
| 291 // Tail call a code stub (jump). | 291 // Call a code stub and return the code object called. Try to generate |
| 292 // the code if necessary. Do not perform a GC but instead return a retry |
| 293 // after GC failure. |
| 294 Object* TryCallStub(CodeStub* stub); |
| 295 |
| 296 // Tail call a code stub (jump). Generate the code if necessary. |
| 292 void TailCallStub(CodeStub* stub); | 297 void TailCallStub(CodeStub* stub); |
| 293 | 298 |
| 299 // Tail call a code stub (jump) and return the code object called. Try to |
| 300 // generate the code if necessary. Do not perform a GC but instead return |
| 301 // a retry after GC failure. |
| 302 Object* TryTailCallStub(CodeStub* stub); |
| 303 |
| 294 // Return from a code stub after popping its arguments. | 304 // Return from a code stub after popping its arguments. |
| 295 void StubReturn(int argc); | 305 void StubReturn(int argc); |
| 296 | 306 |
| 297 // Call a runtime routine. | 307 // Call a runtime routine. |
| 298 // Eventually this should be used for all C calls. | 308 // Eventually this should be used for all C calls. |
| 299 void CallRuntime(Runtime::Function* f, int num_arguments); | 309 void CallRuntime(Runtime::Function* f, int num_arguments); |
| 300 | 310 |
| 301 // Convenience function: Same as above, but takes the fid instead. | 311 // Convenience function: Same as above, but takes the fid instead. |
| 302 void CallRuntime(Runtime::FunctionId id, int num_arguments); | 312 void CallRuntime(Runtime::FunctionId id, int num_arguments); |
| 303 | 313 |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 } \ | 469 } \ |
| 460 masm-> | 470 masm-> |
| 461 #else | 471 #else |
| 462 #define ACCESS_MASM(masm) masm-> | 472 #define ACCESS_MASM(masm) masm-> |
| 463 #endif | 473 #endif |
| 464 | 474 |
| 465 | 475 |
| 466 } } // namespace v8::internal | 476 } } // namespace v8::internal |
| 467 | 477 |
| 468 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 478 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |