| 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 // Utilities | 496 // Utilities |
| 497 | 497 |
| 498 void Ret(); | 498 void Ret(); |
| 499 | 499 |
| 500 // Emit code to discard a non-negative number of pointer-sized elements | 500 // Emit code to discard a non-negative number of pointer-sized elements |
| 501 // from the stack, clobbering only the esp register. | 501 // from the stack, clobbering only the esp register. |
| 502 void Drop(int element_count); | 502 void Drop(int element_count); |
| 503 | 503 |
| 504 void Call(Label* target) { call(target); } | 504 void Call(Label* target) { call(target); } |
| 505 | 505 |
| 506 // Move if the registers are not identical. |
| 507 void Move(Register target, Register source); |
| 508 |
| 506 void Move(Register target, Handle<Object> value); | 509 void Move(Register target, Handle<Object> value); |
| 507 | 510 |
| 508 Handle<Object> CodeObject() { return code_object_; } | 511 Handle<Object> CodeObject() { return code_object_; } |
| 509 | 512 |
| 510 | 513 |
| 511 // --------------------------------------------------------------------------- | 514 // --------------------------------------------------------------------------- |
| 512 // StatsCounter support | 515 // StatsCounter support |
| 513 | 516 |
| 514 void SetCounter(StatsCounter* counter, int value); | 517 void SetCounter(StatsCounter* counter, int value); |
| 515 void IncrementCounter(StatsCounter* counter, int value); | 518 void IncrementCounter(StatsCounter* counter, int value); |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 } \ | 656 } \ |
| 654 masm-> | 657 masm-> |
| 655 #else | 658 #else |
| 656 #define ACCESS_MASM(masm) masm-> | 659 #define ACCESS_MASM(masm) masm-> |
| 657 #endif | 660 #endif |
| 658 | 661 |
| 659 | 662 |
| 660 } } // namespace v8::internal | 663 } } // namespace v8::internal |
| 661 | 664 |
| 662 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 665 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |