Changeset 215196 in webkit for trunk/Source/JavaScriptCore/assembler/MacroAssemblerARM64.cpp
- Timestamp:
- Apr 10, 2017, 12:38:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/MacroAssemblerARM64.cpp
r191191 r215196 1 1 /* 2 * Copyright (C) 2013-201 5Apple Inc. All rights reserved.2 * Copyright (C) 2013-2017 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 27 27 28 28 #if ENABLE(ASSEMBLER) && CPU(ARM64) 29 #include "MacroAssembler ARM64.h"29 #include "MacroAssembler.h" 30 30 31 31 #include <wtf/InlineASM.h> … … 41 41 #if COMPILER(GCC_OR_CLANG) 42 42 43 // The following are offsets for MacroAssemblerARM64::ProbeContext fields accessed43 // The following are offsets for ProbeContext fields accessed 44 44 // by the ctiMasmProbeTrampoline stub. 45 45 #define PTR_SIZE 8 … … 129 129 // These ASSERTs remind you that if you change the layout of ProbeContext, 130 130 // you need to change ctiMasmProbeTrampoline offsets above to match. 131 #define PROBE_OFFSETOF(x) offsetof(struct MacroAssemblerARM64::ProbeContext, x)131 #define PROBE_OFFSETOF(x) offsetof(struct ProbeContext, x) 132 132 COMPILE_ASSERT(PROBE_OFFSETOF(probeFunction) == PROBE_PROBE_FUNCTION_OFFSET, ProbeContext_probeFunction_offset_matches_ctiMasmProbeTrampoline); 133 133 COMPILE_ASSERT(PROBE_OFFSETOF(arg1) == PROBE_ARG1_OFFSET, ProbeContext_arg1_offset_matches_ctiMasmProbeTrampoline); … … 206 206 COMPILE_ASSERT(PROBE_OFFSETOF(cpu.q31) == PROBE_CPU_Q31_OFFSET, ProbeContext_cpu_q31_offset_matches_ctiMasmProbeTrampoline); 207 207 208 COMPILE_ASSERT(sizeof( MacroAssemblerARM64::ProbeContext) == PROBE_SIZE, ProbeContext_size_matches_ctiMasmProbeTrampoline);208 COMPILE_ASSERT(sizeof(ProbeContext) == PROBE_SIZE, ProbeContext_size_matches_ctiMasmProbeTrampoline); 209 209 210 210 #undef PROBE_OFFSETOF … … 455 455 #endif // COMPILER(GCC_OR_CLANG) 456 456 457 static void arm64ProbeTrampoline( MacroAssemblerARM64::ProbeContext* context)457 static void arm64ProbeTrampoline(ProbeContext* context) 458 458 { 459 459 void* origSP = context->cpu.sp; … … 472 472 } 473 473 474 void MacroAssemblerARM64::probe( MacroAssemblerARM64::ProbeFunction function, void* arg1, void* arg2)474 void MacroAssemblerARM64::probe(ProbeFunction function, void* arg1, void* arg2) 475 475 { 476 476 sub64(TrustedImm32(8 * 8), sp);
Note:
See TracChangeset
for help on using the changeset viewer.