summaryrefslogtreecommitdiffstats
path: root/chromium/v8/src/codegen/register.cc
blob: 4ad76c6caafe5b26d74373000d6f908482ec203e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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