Commit 987f0b75 authored by Jan Wilken Dörrie's avatar Jan Wilken Dörrie Committed by Commit Bot

[C++17] Apply consistent use of noexcept

In C++17 noexcept becomes part of the type system and thus needs to be
consistently applied between function declarations and definitions.

Change-Id: Ia34faa9d9d1f18916655fd5a1a8ec9f6b414f1e9
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2643391Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72255}
parent 93f8a867
......@@ -11315,12 +11315,9 @@ RegisterState::RegisterState()
: pc(nullptr), sp(nullptr), fp(nullptr), lr(nullptr) {}
RegisterState::~RegisterState() = default;
RegisterState::RegisterState(const RegisterState& other) V8_NOEXCEPT {
*this = other;
}
RegisterState::RegisterState(const RegisterState& other) { *this = other; }
RegisterState& RegisterState::operator=(const RegisterState& other)
V8_NOEXCEPT {
RegisterState& RegisterState::operator=(const RegisterState& other) {
if (&other != this) {
pc = other.pc;
sp = other.sp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment