зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1362357: Follow-up: add dummy values for PushedTLS and PushedExitReason on arm64/none; r=bustage
Some range checks were tautological because we were comparing PushedTLS/PushedExitReason against 0, although they're uint32. Give them dummy values to prevent these warnings from showing up. MozReview-Commit-ID: 9JalPeYZzSl --HG-- extra : histedit_source : 92a5e68985346095b9e2919a4483d1e5c5756851
This commit is contained in:
Родитель
676c55f50d
Коммит
6c0a575bcf
|
@ -276,8 +276,8 @@ static const unsigned PoppedExitReason = 4;
|
|||
#elif defined(JS_CODEGEN_ARM64)
|
||||
static const unsigned BeforePushRetAddr = 0;
|
||||
static const unsigned PushedRetAddr = 0;
|
||||
static const unsigned PushedTLS = 0;
|
||||
static const unsigned PushedExitReason = 0;
|
||||
static const unsigned PushedTLS = 1;
|
||||
static const unsigned PushedExitReason = 2;
|
||||
static const unsigned PushedFP = 0;
|
||||
static const unsigned SetFP = 0;
|
||||
static const unsigned PoppedFP = 0;
|
||||
|
@ -293,8 +293,8 @@ static const unsigned PoppedFP = 8;
|
|||
static const unsigned PoppedExitReason = 4;
|
||||
#elif defined(JS_CODEGEN_NONE)
|
||||
static const unsigned PushedRetAddr = 0;
|
||||
static const unsigned PushedTLS = 0;
|
||||
static const unsigned PushedExitReason = 0;
|
||||
static const unsigned PushedTLS = 1;
|
||||
static const unsigned PushedExitReason = 2;
|
||||
static const unsigned PushedFP = 0;
|
||||
static const unsigned SetFP = 0;
|
||||
static const unsigned PoppedFP = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче