| 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 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 // Find the function context up the context chain. | 921 // Find the function context up the context chain. |
| 922 void LoadContext(Register dst, int context_chain_length); | 922 void LoadContext(Register dst, int context_chain_length); |
| 923 | 923 |
| 924 // Load the global function with the given index. | 924 // Load the global function with the given index. |
| 925 void LoadGlobalFunction(int index, Register function); | 925 void LoadGlobalFunction(int index, Register function); |
| 926 | 926 |
| 927 // Load the initial map from the global function. The registers | 927 // Load the initial map from the global function. The registers |
| 928 // function and map can be the same. | 928 // function and map can be the same. |
| 929 void LoadGlobalFunctionInitialMap(Register function, Register map); | 929 void LoadGlobalFunctionInitialMap(Register function, Register map); |
| 930 | 930 |
| 931 // Loads a double value from memory to the low half of an XMMRegister. |
| 932 // May or may not change the top half of the destionation register, |
| 933 // depending on the opcode used. |
| 934 void LoadDbl(XMMRegister dst, const Operand& src); |
| 935 |
| 931 // --------------------------------------------------------------------------- | 936 // --------------------------------------------------------------------------- |
| 932 // Runtime calls | 937 // Runtime calls |
| 933 | 938 |
| 934 // Call a code stub. | 939 // Call a code stub. |
| 935 void CallStub(CodeStub* stub); | 940 void CallStub(CodeStub* stub); |
| 936 | 941 |
| 937 // Call a code stub and return the code object called. Try to generate | 942 // Call a code stub and return the code object called. Try to generate |
| 938 // the code if necessary. Do not perform a GC but instead return a retry | 943 // the code if necessary. Do not perform a GC but instead return a retry |
| 939 // after GC failure. | 944 // after GC failure. |
| 940 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub); | 945 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub); |
| (...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2007 Jump(adaptor, RelocInfo::CODE_TARGET); | 2012 Jump(adaptor, RelocInfo::CODE_TARGET); |
| 2008 } | 2013 } |
| 2009 bind(&invoke); | 2014 bind(&invoke); |
| 2010 } | 2015 } |
| 2011 } | 2016 } |
| 2012 | 2017 |
| 2013 | 2018 |
| 2014 } } // namespace v8::internal | 2019 } } // namespace v8::internal |
| 2015 | 2020 |
| 2016 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 2021 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |