| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1147 Label* no_map_match); | 1147 Label* no_map_match); |
| 1148 | 1148 |
| 1149 // Load the initial map for new Arrays from a JSFunction. | 1149 // Load the initial map for new Arrays from a JSFunction. |
| 1150 void LoadInitialArrayMap(Register function_in, | 1150 void LoadInitialArrayMap(Register function_in, |
| 1151 Register scratch, | 1151 Register scratch, |
| 1152 Register map_out, | 1152 Register map_out, |
| 1153 bool can_have_holes); | 1153 bool can_have_holes); |
| 1154 | 1154 |
| 1155 // Load the global function with the given index. | 1155 // Load the global function with the given index. |
| 1156 void LoadGlobalFunction(int index, Register function); | 1156 void LoadGlobalFunction(int index, Register function); |
| 1157 void LoadArrayFunction(Register function); |
| 1157 | 1158 |
| 1158 // Load the initial map from the global function. The registers | 1159 // Load the initial map from the global function. The registers |
| 1159 // function and map can be the same. | 1160 // function and map can be the same. |
| 1160 void LoadGlobalFunctionInitialMap(Register function, Register map); | 1161 void LoadGlobalFunctionInitialMap(Register function, Register map); |
| 1161 | 1162 |
| 1162 // --------------------------------------------------------------------------- | 1163 // --------------------------------------------------------------------------- |
| 1163 // Runtime calls | 1164 // Runtime calls |
| 1164 | 1165 |
| 1165 // Call a code stub. | 1166 // Call a code stub. |
| 1166 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); | 1167 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1493 masm->popfq(); \ | 1494 masm->popfq(); \ |
| 1494 } \ | 1495 } \ |
| 1495 masm-> | 1496 masm-> |
| 1496 #else | 1497 #else |
| 1497 #define ACCESS_MASM(masm) masm-> | 1498 #define ACCESS_MASM(masm) masm-> |
| 1498 #endif | 1499 #endif |
| 1499 | 1500 |
| 1500 } } // namespace v8::internal | 1501 } } // namespace v8::internal |
| 1501 | 1502 |
| 1502 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1503 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |