diff options
Diffstat (limited to 'chromium/v8/src/codegen/register.cc')
-rw-r--r-- | chromium/v8/src/codegen/register.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium/v8/src/codegen/register.cc b/chromium/v8/src/codegen/register.cc new file mode 100644 index 00000000000..4ad76c6caaf --- /dev/null +++ b/chromium/v8/src/codegen/register.cc @@ -0,0 +1,16 @@ +// Copyright 2019 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "src/codegen/register.h" +#include "src/codegen/register-arch.h" + +namespace v8 { +namespace internal { + +bool ShouldPadArguments(int argument_count) { + return kPadArguments && (argument_count % 2 != 0); +} + +} // namespace internal +} // namespace v8 |