#ifndef V8_EXECUTION_POINTER_AUTHENTICATION_DUMMY_H_
#define V8_EXECUTION_POINTER_AUTHENTICATION_DUMMY_H_
#include "include/v8-internal.h"
#include "src/base/macros.h"
#include "src/execution/pointer-authentication.h"
namespace v8 {
namespace internal {
V8_INLINE Address PointerAuthentication::AuthenticatePC(
Address* pc_address, unsigned offset_from_sp) {
USE(offset_from_sp);
return *pc_address;
}
V8_INLINE Address PointerAuthentication::StripPAC(Address pc) { return pc; }
V8_INLINE void PointerAuthentication::ReplacePC(Address* pc_address,
Address new_pc,
int offset_from_sp) {
USE(offset_from_sp);
*pc_address = new_pc;
}
V8_INLINE Address PointerAuthentication::SignAndCheckPC(Address pc,
Address sp) {
USE(sp);
return pc;
}
}
}
#endif