| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 // Picks out an array index from the hash field. | 445 // Picks out an array index from the hash field. |
| 446 // Register use: | 446 // Register use: |
| 447 // hash - holds the index's hash. Clobbered. | 447 // hash - holds the index's hash. Clobbered. |
| 448 // index - holds the overwritten index on exit. | 448 // index - holds the overwritten index on exit. |
| 449 void IndexFromHash(Register hash, Register index); | 449 void IndexFromHash(Register hash, Register index); |
| 450 | 450 |
| 451 // --------------------------------------------------------------------------- | 451 // --------------------------------------------------------------------------- |
| 452 // Runtime calls | 452 // Runtime calls |
| 453 | 453 |
| 454 // Call a code stub. Generate the code if necessary. | 454 // Call a code stub. Generate the code if necessary. |
| 455 void CallStub(CodeStub* stub, unsigned ast_id = kNoASTId); | 455 void CallStub(CodeStub* stub); |
| 456 | 456 |
| 457 // Call a code stub and return the code object called. Try to generate | 457 // Call a code stub and return the code object called. Try to generate |
| 458 // the code if necessary. Do not perform a GC but instead return a retry | 458 // the code if necessary. Do not perform a GC but instead return a retry |
| 459 // after GC failure. | 459 // after GC failure. |
| 460 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub); | 460 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub); |
| 461 | 461 |
| 462 // Tail call a code stub (jump). Generate the code if necessary. | 462 // Tail call a code stub (jump). Generate the code if necessary. |
| 463 void TailCallStub(CodeStub* stub); | 463 void TailCallStub(CodeStub* stub); |
| 464 | 464 |
| 465 // Tail call a code stub (jump) and return the code object called. Try to | 465 // Tail call a code stub (jump) and return the code object called. Try to |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 } \ | 795 } \ |
| 796 masm-> | 796 masm-> |
| 797 #else | 797 #else |
| 798 #define ACCESS_MASM(masm) masm-> | 798 #define ACCESS_MASM(masm) masm-> |
| 799 #endif | 799 #endif |
| 800 | 800 |
| 801 | 801 |
| 802 } } // namespace v8::internal | 802 } } // namespace v8::internal |
| 803 | 803 |
| 804 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 804 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |