[vm] Update to constexpr in runtime/vm.
TEST=build Change-Id: I2dd8ae69764af27f480a19995b491e98f52476ae Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/293902 Reviewed-by: Liam Appelbe <liama@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
Commit Queue
parent
3c298dbca5
commit
2bfecc160b
@@ -424,7 +424,7 @@ DART_FORCE_INLINE static bool IsCalleeFrameOf(uword fp, uword other_fp) {
|
||||
}
|
||||
|
||||
// Value for stack limit that is used to cause an interrupt.
|
||||
static const uword kInterruptStackLimit = ~static_cast<uword>(0);
|
||||
static constexpr uword kInterruptStackLimit = ~static_cast<uword>(0);
|
||||
|
||||
DART_FORCE_INLINE static uword LocalVarAddress(uword fp, intptr_t index) {
|
||||
return fp + LocalVarIndex(0, index) * kWordSize;
|
||||
|
||||
Reference in New Issue
Block a user