Changeset 215196 in webkit for trunk/Source/JavaScriptCore/assembler/MacroAssemblerARMv7.cpp
- Timestamp:
- Apr 10, 2017, 12:38:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/MacroAssemblerARMv7.cpp
r201651 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(ARM_THUMB2) 29 #include "MacroAssembler ARMv7.h"29 #include "MacroAssembler.h" 30 30 31 31 #include <wtf/InlineASM.h> … … 39 39 #if COMPILER(GCC_OR_CLANG) 40 40 41 // The following are offsets for MacroAssemblerARMv7::ProbeContext fields accessed41 // The following are offsets for ProbeContext fields accessed 42 42 // by the ctiMasmProbeTrampoline stub. 43 43 … … 109 109 // These ASSERTs remind you that if you change the layout of ProbeContext, 110 110 // you need to change ctiMasmProbeTrampoline offsets above to match. 111 #define PROBE_OFFSETOF(x) offsetof(struct MacroAssemblerARMv7::ProbeContext, x)111 #define PROBE_OFFSETOF(x) offsetof(struct ProbeContext, x) 112 112 COMPILE_ASSERT(PROBE_OFFSETOF(probeFunction) == PROBE_PROBE_FUNCTION_OFFSET, ProbeContext_probeFunction_offset_matches_ctiMasmProbeTrampoline); 113 113 COMPILE_ASSERT(PROBE_OFFSETOF(arg1) == PROBE_ARG1_OFFSET, ProbeContext_arg1_offset_matches_ctiMasmProbeTrampoline); … … 168 168 COMPILE_ASSERT(PROBE_OFFSETOF(cpu.d31) == PROBE_CPU_D31_OFFSET, ProbeContext_cpu_d31_offset_matches_ctiMasmProbeTrampoline); 169 169 170 COMPILE_ASSERT(sizeof( MacroAssemblerARMv7::ProbeContext) == PROBE_SIZE, ProbeContext_size_matches_ctiMasmProbeTrampoline);170 COMPILE_ASSERT(sizeof(ProbeContext) == PROBE_SIZE, ProbeContext_size_matches_ctiMasmProbeTrampoline); 171 171 172 172 #undef PROBE_OFFSETOF … … 325 325 #endif // COMPILER(GCC_OR_CLANG) 326 326 327 void MacroAssemblerARMv7::probe( MacroAssemblerARMv7::ProbeFunction function, void* arg1, void* arg2)327 void MacroAssemblerARMv7::probe(ProbeFunction function, void* arg1, void* arg2) 328 328 { 329 329 push(RegisterID::lr);
Note:
See TracChangeset
for help on using the changeset viewer.