1 // Copyright 2019 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "src/codegen/register.h" 6 #include "src/codegen/register-arch.h" 7 8 namespace v8 { 9 namespace internal { 10 ShouldPadArguments(int argument_count)11bool ShouldPadArguments(int argument_count) { 12 return kPadArguments && (argument_count % 2 != 0); 13 } 14 15 } // namespace internal 16 } // namespace v8 17