| 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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 913 | 913 | 
| 914   // Calculate the number of stack slots to reserve for arguments when calling a | 914   // Calculate the number of stack slots to reserve for arguments when calling a | 
| 915   // C function. | 915   // C function. | 
| 916   int ArgumentStackSlotsForCFunctionCall(int num_arguments); | 916   int ArgumentStackSlotsForCFunctionCall(int num_arguments); | 
| 917 | 917 | 
| 918   // --------------------------------------------------------------------------- | 918   // --------------------------------------------------------------------------- | 
| 919   // Utilities | 919   // Utilities | 
| 920 | 920 | 
| 921   void Ret(); | 921   void Ret(); | 
| 922 | 922 | 
|  | 923   // Return and drop arguments from stack, where the number of arguments | 
|  | 924   // may be bigger than 2^16 - 1.  Requires a scratch register. | 
|  | 925   void Ret(int bytes_dropped, Register scratch); | 
|  | 926 | 
| 923   Handle<Object> CodeObject() { return code_object_; } | 927   Handle<Object> CodeObject() { return code_object_; } | 
| 924 | 928 | 
| 925 | 929 | 
| 926   // --------------------------------------------------------------------------- | 930   // --------------------------------------------------------------------------- | 
| 927   // StatsCounter support | 931   // StatsCounter support | 
| 928 | 932 | 
| 929   void SetCounter(StatsCounter* counter, int value); | 933   void SetCounter(StatsCounter* counter, int value); | 
| 930   void IncrementCounter(StatsCounter* counter, int value); | 934   void IncrementCounter(StatsCounter* counter, int value); | 
| 931   void DecrementCounter(StatsCounter* counter, int value); | 935   void DecrementCounter(StatsCounter* counter, int value); | 
| 932 | 936 | 
| (...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1795       Jump(adaptor, RelocInfo::CODE_TARGET); | 1799       Jump(adaptor, RelocInfo::CODE_TARGET); | 
| 1796     } | 1800     } | 
| 1797     bind(&invoke); | 1801     bind(&invoke); | 
| 1798   } | 1802   } | 
| 1799 } | 1803 } | 
| 1800 | 1804 | 
| 1801 | 1805 | 
| 1802 } }  // namespace v8::internal | 1806 } }  // namespace v8::internal | 
| 1803 | 1807 | 
| 1804 #endif  // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1808 #endif  // V8_X64_MACRO_ASSEMBLER_X64_H_ | 
| OLD | NEW | 
|---|