| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 #include "src/assembler.h" | 42 #include "src/assembler.h" |
| 43 #include "src/debug/debug.h" | 43 #include "src/debug/debug.h" |
| 44 #include "src/objects-inl.h" | 44 #include "src/objects-inl.h" |
| 45 | 45 |
| 46 namespace v8 { | 46 namespace v8 { |
| 47 namespace internal { | 47 namespace internal { |
| 48 | 48 |
| 49 bool CpuFeatures::SupportsCrankshaft() { return true; } | 49 bool CpuFeatures::SupportsCrankshaft() { return true; } |
| 50 | 50 |
| 51 bool CpuFeatures::SupportsSimd128() { return false; } | 51 bool CpuFeatures::SupportsWasmSimd128() { return false; } |
| 52 | 52 |
| 53 void RelocInfo::apply(intptr_t delta) { | 53 void RelocInfo::apply(intptr_t delta) { |
| 54 // Absolute code pointer inside code object moves with the code object. | 54 // Absolute code pointer inside code object moves with the code object. |
| 55 if (IsInternalReference(rmode_)) { | 55 if (IsInternalReference(rmode_)) { |
| 56 // Jump table entry | 56 // Jump table entry |
| 57 Address target = Memory::Address_at(pc_); | 57 Address target = Memory::Address_at(pc_); |
| 58 Memory::Address_at(pc_) = target + delta; | 58 Memory::Address_at(pc_) = target + delta; |
| 59 } else if (IsCodeTarget(rmode_)) { | 59 } else if (IsCodeTarget(rmode_)) { |
| 60 SixByteInstr instr = | 60 SixByteInstr instr = |
| 61 Instruction::InstructionBits(reinterpret_cast<const byte*>(pc_)); | 61 Instruction::InstructionBits(reinterpret_cast<const byte*>(pc_)); |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 } | 570 } |
| 571 #endif | 571 #endif |
| 572 } | 572 } |
| 573 if (!patched) UNREACHABLE(); | 573 if (!patched) UNREACHABLE(); |
| 574 } | 574 } |
| 575 | 575 |
| 576 } // namespace internal | 576 } // namespace internal |
| 577 } // namespace v8 | 577 } // namespace v8 |
| 578 | 578 |
| 579 #endif // V8_S390_ASSEMBLER_S390_INL_H_ | 579 #endif // V8_S390_ASSEMBLER_S390_INL_H_ |
| OLD | NEW |