| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // | 2 // |
| 3 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
| 4 // modification, are permitted provided that the following conditions are | 4 // modification, are permitted provided that the following conditions are |
| 5 // met: | 5 // met: |
| 6 // | 6 // |
| 7 // * Redistributions of source code must retain the above copyright | 7 // * Redistributions of source code must retain the above copyright |
| 8 // notice, this list of conditions and the following disclaimer. | 8 // notice, this list of conditions and the following disclaimer. |
| 9 // * Redistributions in binary form must reproduce the above | 9 // * Redistributions in binary form must reproduce the above |
| 10 // copyright notice, this list of conditions and the following | 10 // copyright notice, this list of conditions and the following |
| (...skipping 2330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2341 DCHECK(SizeOfCodeGeneratedSince(&start) == kDebugMessageOffset); | 2341 DCHECK(SizeOfCodeGeneratedSince(&start) == kDebugMessageOffset); |
| 2342 EmitStringData(message); | 2342 EmitStringData(message); |
| 2343 hlt(kImmExceptionIsUnreachable); | 2343 hlt(kImmExceptionIsUnreachable); |
| 2344 | 2344 |
| 2345 return; | 2345 return; |
| 2346 } | 2346 } |
| 2347 // Fall through if Serializer is enabled. | 2347 // Fall through if Serializer is enabled. |
| 2348 #endif | 2348 #endif |
| 2349 | 2349 |
| 2350 if (params & BREAK) { | 2350 if (params & BREAK) { |
| 2351 hlt(kImmExceptionIsDebug); | 2351 brk(0); |
| 2352 } | 2352 } |
| 2353 } | 2353 } |
| 2354 | 2354 |
| 2355 | 2355 |
| 2356 void Assembler::Logical(const Register& rd, | 2356 void Assembler::Logical(const Register& rd, |
| 2357 const Register& rn, | 2357 const Register& rn, |
| 2358 const Operand& operand, | 2358 const Operand& operand, |
| 2359 LogicalOp op) { | 2359 LogicalOp op) { |
| 2360 DCHECK(rd.SizeInBits() == rn.SizeInBits()); | 2360 DCHECK(rd.SizeInBits() == rn.SizeInBits()); |
| 2361 DCHECK(!operand.NeedsRelocation(this)); | 2361 DCHECK(!operand.NeedsRelocation(this)); |
| (...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3224 movk(scratch, (target_offset >> 32) & 0xFFFF, 32); | 3224 movk(scratch, (target_offset >> 32) & 0xFFFF, 32); |
| 3225 DCHECK((target_offset >> 48) == 0); | 3225 DCHECK((target_offset >> 48) == 0); |
| 3226 add(rd, rd, scratch); | 3226 add(rd, rd, scratch); |
| 3227 } | 3227 } |
| 3228 | 3228 |
| 3229 | 3229 |
| 3230 } // namespace internal | 3230 } // namespace internal |
| 3231 } // namespace v8 | 3231 } // namespace v8 |
| 3232 | 3232 |
| 3233 #endif // V8_TARGET_ARCH_ARM64 | 3233 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |