| 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 // a retry after GC failure. | 324 // a retry after GC failure. |
| 325 Object* TryTailCallStub(CodeStub* stub); | 325 Object* TryTailCallStub(CodeStub* stub); |
| 326 | 326 |
| 327 // Return from a code stub after popping its arguments. | 327 // Return from a code stub after popping its arguments. |
| 328 void StubReturn(int argc); | 328 void StubReturn(int argc); |
| 329 | 329 |
| 330 // Call a runtime routine. | 330 // Call a runtime routine. |
| 331 // Eventually this should be used for all C calls. | 331 // Eventually this should be used for all C calls. |
| 332 void CallRuntime(Runtime::Function* f, int num_arguments); | 332 void CallRuntime(Runtime::Function* f, int num_arguments); |
| 333 | 333 |
| 334 // Call a runtime function, returning the RuntimeStub object called. | 334 // Call a runtime function, returning the CodeStub object called. |
| 335 // Try to generate the stub code if necessary. Do not perform a GC | 335 // Try to generate the stub code if necessary. Do not perform a GC |
| 336 // but instead return a retry after GC failure. | 336 // but instead return a retry after GC failure. |
| 337 Object* TryCallRuntime(Runtime::Function* f, int num_arguments); | 337 Object* TryCallRuntime(Runtime::Function* f, int num_arguments); |
| 338 | 338 |
| 339 // Convenience function: Same as above, but takes the fid instead. | 339 // Convenience function: Same as above, but takes the fid instead. |
| 340 void CallRuntime(Runtime::FunctionId id, int num_arguments); | 340 void CallRuntime(Runtime::FunctionId id, int num_arguments); |
| 341 | 341 |
| 342 // Convenience function: Same as above, but takes the fid instead. | 342 // Convenience function: Same as above, but takes the fid instead. |
| 343 Object* TryCallRuntime(Runtime::FunctionId id, int num_arguments); | 343 Object* TryCallRuntime(Runtime::FunctionId id, int num_arguments); |
| 344 | 344 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 } \ | 532 } \ |
| 533 masm-> | 533 masm-> |
| 534 #else | 534 #else |
| 535 #define ACCESS_MASM(masm) masm-> | 535 #define ACCESS_MASM(masm) masm-> |
| 536 #endif | 536 #endif |
| 537 | 537 |
| 538 | 538 |
| 539 } } // namespace v8::internal | 539 } } // namespace v8::internal |
| 540 | 540 |
| 541 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 541 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |