b889d79de1
counts specified in runtime.h. In the vast majority of the cases when we call into the runtime we use the default number of arguments. Hence, there is not need to specify it again. This CL also removes TailCallExternalReference as there were no users. BUG= Review URL: https://codereview.chromium.org/1553703002 Cr-Commit-Position: refs/heads/master@{#33066}
34 lines
791 B
C++
34 lines
791 B
C++
// Copyright 2014 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.
|
|
|
|
#if V8_TARGET_ARCH_ARM
|
|
|
|
#include "src/ic/ic.h"
|
|
#include "src/ic/ic-compiler.h"
|
|
|
|
namespace v8 {
|
|
namespace internal {
|
|
|
|
#define __ ACCESS_MASM(masm)
|
|
|
|
|
|
void PropertyICCompiler::GenerateRuntimeSetProperty(
|
|
MacroAssembler* masm, LanguageMode language_mode) {
|
|
__ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(),
|
|
StoreDescriptor::ValueRegister());
|
|
|
|
__ mov(r0, Operand(Smi::FromInt(language_mode)));
|
|
__ Push(r0);
|
|
|
|
// Do tail-call to runtime routine.
|
|
__ TailCallRuntime(Runtime::kSetProperty);
|
|
}
|
|
|
|
|
|
#undef __
|
|
} // namespace internal
|
|
} // namespace v8
|
|
|
|
#endif // V8_TARGET_ARCH_ARM
|