| Index: src/arm64/code-stubs-arm64.cc
|
| diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc
|
| index c00b5727f7c070a9d587665a3400ba51f86633e6..97b6598f5f866d897610c67cf2c0576a04a672d7 100644
|
| --- a/src/arm64/code-stubs-arm64.cc
|
| +++ b/src/arm64/code-stubs-arm64.cc
|
| @@ -1048,7 +1048,7 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| Label done;
|
|
|
| // Unpack the inputs.
|
| - if (exponent_type_ == ON_STACK) {
|
| + if (exponent_type() == ON_STACK) {
|
| Label base_is_smi;
|
| Label unpack_exponent;
|
|
|
| @@ -1072,20 +1072,20 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| // exponent_tagged is a heap number, so load its double value.
|
| __ Ldr(exponent_double,
|
| FieldMemOperand(exponent_tagged, HeapNumber::kValueOffset));
|
| - } else if (exponent_type_ == TAGGED) {
|
| + } else if (exponent_type() == TAGGED) {
|
| __ JumpIfSmi(exponent_tagged, &exponent_is_smi);
|
| __ Ldr(exponent_double,
|
| FieldMemOperand(exponent_tagged, HeapNumber::kValueOffset));
|
| }
|
|
|
| // Handle double (heap number) exponents.
|
| - if (exponent_type_ != INTEGER) {
|
| + if (exponent_type() != INTEGER) {
|
| // Detect integer exponents stored as doubles and handle those in the
|
| // integer fast-path.
|
| __ TryRepresentDoubleAsInt64(exponent_integer, exponent_double,
|
| scratch0_double, &exponent_is_integer);
|
|
|
| - if (exponent_type_ == ON_STACK) {
|
| + if (exponent_type() == ON_STACK) {
|
| FPRegister half_double = d3;
|
| FPRegister minus_half_double = d4;
|
| // Detect square root case. Crankshaft detects constant +/-0.5 at compile
|
| @@ -1236,7 +1236,7 @@ void MathPowStub::Generate(MacroAssembler* masm) {
|
| __ Fcmp(result_double, 0.0);
|
| __ B(&done, ne);
|
|
|
| - if (exponent_type_ == ON_STACK) {
|
| + if (exponent_type() == ON_STACK) {
|
| // Bail out to runtime code.
|
| __ Bind(&call_runtime);
|
| // Put the arguments back on the stack.
|
| @@ -3147,7 +3147,7 @@ static void CallFunctionNoFeedback(MacroAssembler* masm,
|
|
|
| void CallFunctionStub::Generate(MacroAssembler* masm) {
|
| ASM_LOCATION("CallFunctionStub::Generate");
|
| - CallFunctionNoFeedback(masm, argc_, NeedsChecks(), CallAsMethod());
|
| + CallFunctionNoFeedback(masm, argc(), NeedsChecks(), CallAsMethod());
|
| }
|
|
|
|
|
| @@ -4590,7 +4590,7 @@ void StubFailureTrampolineStub::Generate(MacroAssembler* masm) {
|
| int parameter_count_offset =
|
| StubFailureTrampolineFrame::kCallerStackParameterCountFrameOffset;
|
| __ Ldr(x1, MemOperand(fp, parameter_count_offset));
|
| - if (function_mode_ == JS_FUNCTION_STUB_MODE) {
|
| + if (function_mode() == JS_FUNCTION_STUB_MODE) {
|
| __ Add(x1, x1, 1);
|
| }
|
| masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE);
|
| @@ -5115,7 +5115,7 @@ void ArrayConstructorStub::GenerateDispatchToArrayStub(
|
| MacroAssembler* masm,
|
| AllocationSiteOverrideMode mode) {
|
| Register argc = x0;
|
| - if (argument_count_ == ANY) {
|
| + if (argument_count() == ANY) {
|
| Label zero_case, n_case;
|
| __ Cbz(argc, &zero_case);
|
| __ Cmp(argc, 1);
|
| @@ -5132,11 +5132,11 @@ void ArrayConstructorStub::GenerateDispatchToArrayStub(
|
| // N arguments.
|
| CreateArrayDispatch<ArrayNArgumentsConstructorStub>(masm, mode);
|
|
|
| - } else if (argument_count_ == NONE) {
|
| + } else if (argument_count() == NONE) {
|
| CreateArrayDispatch<ArrayNoArgumentConstructorStub>(masm, mode);
|
| - } else if (argument_count_ == ONE) {
|
| + } else if (argument_count() == ONE) {
|
| CreateArrayDispatchOneArgument(masm, mode);
|
| - } else if (argument_count_ == MORE_THAN_ONE) {
|
| + } else if (argument_count() == MORE_THAN_ONE) {
|
| CreateArrayDispatch<ArrayNArgumentsConstructorStub>(masm, mode);
|
| } else {
|
| UNREACHABLE();
|
| @@ -5147,7 +5147,7 @@ void ArrayConstructorStub::GenerateDispatchToArrayStub(
|
| void ArrayConstructorStub::Generate(MacroAssembler* masm) {
|
| ASM_LOCATION("ArrayConstructorStub::Generate");
|
| // ----------- S t a t e -------------
|
| - // -- x0 : argc (only if argument_count_ == ANY)
|
| + // -- x0 : argc (only if argument_count() == ANY)
|
| // -- x1 : constructor
|
| // -- x2 : AllocationSite or undefined
|
| // -- sp[0] : return address
|
| @@ -5299,9 +5299,9 @@ void CallApiFunctionStub::Generate(MacroAssembler* masm) {
|
| Register api_function_address = x1;
|
| Register context = cp;
|
|
|
| - int argc = ArgumentBits::decode(bit_field_);
|
| - bool is_store = IsStoreBits::decode(bit_field_);
|
| - bool call_data_undefined = CallDataUndefinedBits::decode(bit_field_);
|
| + int argc = this->argc();
|
| + bool is_store = this->is_store();
|
| + bool call_data_undefined = this->call_data_undefined();
|
|
|
| typedef FunctionCallbackArguments FCA;
|
|
|
|
|