| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 49a5dd0783c56895b8b3e06a090fca6c388118a6..0a90dbbe13eb49e1b86b1ac9222ede851e355ec2 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -107,6 +107,12 @@ namespace internal {
|
| V(SetProperty) \
|
| V(InvokeBuiltin) \
|
| V(DirectCEntry)
|
| +#elif V8_TARGET_ARCH_A64
|
| +#define CODE_STUB_LIST_ARM(V) \
|
| + V(GetProperty) \
|
| + V(SetProperty) \
|
| + V(InvokeBuiltin) \
|
| + V(DirectCEntry)
|
| #else
|
| #define CODE_STUB_LIST_ARM(V)
|
| #endif
|
| @@ -442,6 +448,8 @@ class RuntimeCallHelper {
|
| #include "ia32/code-stubs-ia32.h"
|
| #elif V8_TARGET_ARCH_X64
|
| #include "x64/code-stubs-x64.h"
|
| +#elif V8_TARGET_ARCH_A64
|
| +#include "a64/code-stubs-a64.h"
|
| #elif V8_TARGET_ARCH_ARM
|
| #include "arm/code-stubs-arm.h"
|
| #elif V8_TARGET_ARCH_MIPS
|
| @@ -1866,23 +1874,21 @@ class DoubleToIStub : public PlatformCodeStub {
|
| int offset,
|
| bool is_truncating,
|
| bool skip_fastpath = false) : bit_field_(0) {
|
| - bit_field_ = SourceRegisterBits::encode(source.code_) |
|
| - DestinationRegisterBits::encode(destination.code_) |
|
| + bit_field_ = SourceRegisterBits::encode(source.code()) |
|
| + DestinationRegisterBits::encode(destination.code()) |
|
| OffsetBits::encode(offset) |
|
| IsTruncatingBits::encode(is_truncating) |
|
| SkipFastPathBits::encode(skip_fastpath) |
|
| SSEBits::encode(CpuFeatures::IsSafeForSnapshot(SSE2) ?
|
| - CpuFeatures::IsSafeForSnapshot(SSE3) ? 2 : 1 : 0);
|
| + CpuFeatures::IsSafeForSnapshot(SSE3) ? 2 : 1 : 0);
|
| }
|
|
|
| Register source() {
|
| - Register result = { SourceRegisterBits::decode(bit_field_) };
|
| - return result;
|
| + return Register::from_code(SourceRegisterBits::decode(bit_field_));
|
| }
|
|
|
| Register destination() {
|
| - Register result = { DestinationRegisterBits::decode(bit_field_) };
|
| - return result;
|
| + return Register::from_code(DestinationRegisterBits::decode(bit_field_));
|
| }
|
|
|
| bool is_truncating() {
|
|
|