diff options
-rw-r--r-- | src/jit/emit.cpp | 2 | ||||
-rw-r--r-- | src/jit/emit.h | 2 | ||||
-rw-r--r-- | src/jit/unwind.cpp | 4 |
3 files changed, 0 insertions, 8 deletions
diff --git a/src/jit/emit.cpp b/src/jit/emit.cpp index 4a3afc1ab0..d76043bde6 100644 --- a/src/jit/emit.cpp +++ b/src/jit/emit.cpp @@ -51,7 +51,6 @@ int emitLocation::GetInsNum() const return emitGetInsNumFromCodePos(codePos); } -#ifdef _TARGET_AMD64_ // Get the instruction offset in the current instruction group, which must be a funclet prolog group. // This is used to find an instruction offset used in unwind data. // TODO-AMD64-Bug?: We only support a single main function prolog group, but allow for multiple funclet prolog @@ -65,7 +64,6 @@ UNATIVE_OFFSET emitLocation::GetFuncletPrologOffset(emitter* emit) const return emit->emitCurIGsize; } -#endif // _TARGET_AMD64_ #ifdef DEBUG void emitLocation::Print() const diff --git a/src/jit/emit.h b/src/jit/emit.h index dbfb178867..a8ef7835e1 100644 --- a/src/jit/emit.h +++ b/src/jit/emit.h @@ -203,9 +203,7 @@ public: return true; } -#ifdef _TARGET_AMD64_ UNATIVE_OFFSET GetFuncletPrologOffset(emitter* emit) const; -#endif // _TARGET_AMD64_ #ifdef DEBUG void Print() const; diff --git a/src/jit/unwind.cpp b/src/jit/unwind.cpp index 07296480be..86ce3312c8 100644 --- a/src/jit/unwind.cpp +++ b/src/jit/unwind.cpp @@ -398,12 +398,8 @@ UNATIVE_OFFSET Compiler::unwindGetCurrentOffset(FuncInfoDsc* func) } else { -#if defined(_TARGET_AMD64_) assert(func->startLoc != nullptr); offset = func->startLoc->GetFuncletPrologOffset(genEmitter); -#else - offset = 0; // TODO ??? -#endif } return offset; |