| OLD | NEW | 
|---|
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 635                                               Label* on_not_flat_ascii_string); | 635                                               Label* on_not_flat_ascii_string); | 
| 636 | 636 | 
| 637   // Checks if both objects are sequential ASCII strings, and jumps to label | 637   // Checks if both objects are sequential ASCII strings, and jumps to label | 
| 638   // if either is not. | 638   // if either is not. | 
| 639   void JumpIfNotBothSequentialAsciiStrings(Register object1, | 639   void JumpIfNotBothSequentialAsciiStrings(Register object1, | 
| 640                                            Register object2, | 640                                            Register object2, | 
| 641                                            Register scratch1, | 641                                            Register scratch1, | 
| 642                                            Register scratch2, | 642                                            Register scratch2, | 
| 643                                            Label* on_not_flat_ascii_strings); | 643                                            Label* on_not_flat_ascii_strings); | 
| 644 | 644 | 
|  | 645   static int SafepointRegisterStackIndex(Register reg) { | 
|  | 646     return SafepointRegisterStackIndex(reg.code()); | 
|  | 647   } | 
|  | 648 | 
| 645  private: | 649  private: | 
| 646   bool generating_stub_; | 650   bool generating_stub_; | 
| 647   bool allow_stub_calls_; | 651   bool allow_stub_calls_; | 
| 648   // This handle will be patched with the code object on installation. | 652   // This handle will be patched with the code object on installation. | 
| 649   Handle<Object> code_object_; | 653   Handle<Object> code_object_; | 
| 650 | 654 | 
| 651   // Helper functions for generating invokes. | 655   // Helper functions for generating invokes. | 
| 652   void InvokePrologue(const ParameterCount& expected, | 656   void InvokePrologue(const ParameterCount& expected, | 
| 653                       const ParameterCount& actual, | 657                       const ParameterCount& actual, | 
| 654                       Handle<Code> code_constant, | 658                       Handle<Code> code_constant, | 
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 798   }                                                                       \ | 802   }                                                                       \ | 
| 799   masm-> | 803   masm-> | 
| 800 #else | 804 #else | 
| 801 #define ACCESS_MASM(masm) masm-> | 805 #define ACCESS_MASM(masm) masm-> | 
| 802 #endif | 806 #endif | 
| 803 | 807 | 
| 804 | 808 | 
| 805 } }  // namespace v8::internal | 809 } }  // namespace v8::internal | 
| 806 | 810 | 
| 807 #endif  // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 811 #endif  // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 
| OLD | NEW | 
|---|