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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 SaveFPRegsMode save_fp, | 161 SaveFPRegsMode save_fp, |
162 RememberedSetFinalAction and_then); | 162 RememberedSetFinalAction and_then); |
163 | 163 |
164 void CheckPageFlag(Register object, | 164 void CheckPageFlag(Register object, |
165 Register scratch, | 165 Register scratch, |
166 int mask, | 166 int mask, |
167 Condition cc, | 167 Condition cc, |
168 Label* condition_met, | 168 Label* condition_met, |
169 Label::Distance condition_met_distance = Label::kFar); | 169 Label::Distance condition_met_distance = Label::kFar); |
170 | 170 |
| 171 void CheckMapDeprecated(Handle<Map> map, |
| 172 Register scratch, |
| 173 Label* if_deprecated); |
| 174 |
171 // Check if object is in new space. Jumps if the object is not in new space. | 175 // Check if object is in new space. Jumps if the object is not in new space. |
172 // The register scratch can be object itself, but scratch will be clobbered. | 176 // The register scratch can be object itself, but scratch will be clobbered. |
173 void JumpIfNotInNewSpace(Register object, | 177 void JumpIfNotInNewSpace(Register object, |
174 Register scratch, | 178 Register scratch, |
175 Label* branch, | 179 Label* branch, |
176 Label::Distance distance = Label::kFar) { | 180 Label::Distance distance = Label::kFar) { |
177 InNewSpace(object, scratch, not_equal, branch, distance); | 181 InNewSpace(object, scratch, not_equal, branch, distance); |
178 } | 182 } |
179 | 183 |
180 // Check if object is in new space. Jumps if the object is in new space. | 184 // Check if object is in new space. Jumps if the object is in new space. |
(...skipping 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 masm->popfq(); \ | 1514 masm->popfq(); \ |
1511 } \ | 1515 } \ |
1512 masm-> | 1516 masm-> |
1513 #else | 1517 #else |
1514 #define ACCESS_MASM(masm) masm-> | 1518 #define ACCESS_MASM(masm) masm-> |
1515 #endif | 1519 #endif |
1516 | 1520 |
1517 } } // namespace v8::internal | 1521 } } // namespace v8::internal |
1518 | 1522 |
1519 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1523 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |