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 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 // Generates code for reporting that an illegal operation has | 1138 // Generates code for reporting that an illegal operation has |
1139 // occurred. | 1139 // occurred. |
1140 void IllegalOperation(int num_arguments); | 1140 void IllegalOperation(int num_arguments); |
1141 | 1141 |
1142 // Picks out an array index from the hash field. | 1142 // Picks out an array index from the hash field. |
1143 // Register use: | 1143 // Register use: |
1144 // hash - holds the index's hash. Clobbered. | 1144 // hash - holds the index's hash. Clobbered. |
1145 // index - holds the overwritten index on exit. | 1145 // index - holds the overwritten index on exit. |
1146 void IndexFromHash(Register hash, Register index); | 1146 void IndexFromHash(Register hash, Register index); |
1147 | 1147 |
| 1148 // Reload the context register from a standard stack frame. |
| 1149 void ReloadContextFromFrame(); |
| 1150 |
1148 // Find the function context up the context chain. | 1151 // Find the function context up the context chain. |
1149 void LoadContext(Register dst, int context_chain_length); | 1152 void LoadContext(Register dst, int context_chain_length); |
1150 | 1153 |
1151 // Conditionally load the cached Array transitioned map of type | 1154 // Conditionally load the cached Array transitioned map of type |
1152 // transitioned_kind from the native context if the map in register | 1155 // transitioned_kind from the native context if the map in register |
1153 // map_in_out is the cached Array map in the native context of | 1156 // map_in_out is the cached Array map in the native context of |
1154 // expected_kind. | 1157 // expected_kind. |
1155 void LoadTransitionedArrayMapConditional( | 1158 void LoadTransitionedArrayMapConditional( |
1156 ElementsKind expected_kind, | 1159 ElementsKind expected_kind, |
1157 ElementsKind transitioned_kind, | 1160 ElementsKind transitioned_kind, |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 masm->popfq(); \ | 1513 masm->popfq(); \ |
1511 } \ | 1514 } \ |
1512 masm-> | 1515 masm-> |
1513 #else | 1516 #else |
1514 #define ACCESS_MASM(masm) masm-> | 1517 #define ACCESS_MASM(masm) masm-> |
1515 #endif | 1518 #endif |
1516 | 1519 |
1517 } } // namespace v8::internal | 1520 } } // namespace v8::internal |
1518 | 1521 |
1519 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1522 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |