Changeset 215196 in webkit for trunk/Source/JavaScriptCore/assembler/MacroAssemblerARM.cpp
- Timestamp:
- Apr 10, 2017, 12:38:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/MacroAssemblerARM.cpp
r191191 r215196 1 1 /* 2 * Copyright (C) 2013-201 5Apple Inc.2 * Copyright (C) 2013-2017 Apple Inc. 3 3 * Copyright (C) 2009 University of Szeged 4 4 * All rights reserved. … … 29 29 30 30 #if ENABLE(ASSEMBLER) && CPU(ARM_TRADITIONAL) 31 32 #include "MacroAssemblerARM.h" 31 #include "MacroAssembler.h" 33 32 34 33 #include <wtf/InlineASM.h> … … 104 103 #if COMPILER(GCC_OR_CLANG) 105 104 106 // The following are offsets for MacroAssemblerARM::ProbeContext fields accessed105 // The following are offsets for ProbeContext fields accessed 107 106 // by the ctiMasmProbeTrampoline stub. 108 107 … … 159 158 // These ASSERTs remind you that if you change the layout of ProbeContext, 160 159 // you need to change ctiMasmProbeTrampoline offsets above to match. 161 #define PROBE_OFFSETOF(x) offsetof(struct MacroAssemblerARM::ProbeContext, x)160 #define PROBE_OFFSETOF(x) offsetof(struct ProbeContext, x) 162 161 COMPILE_ASSERT(PROBE_OFFSETOF(probeFunction) == PROBE_PROBE_FUNCTION_OFFSET, ProbeContext_probeFunction_offset_matches_ctiMasmProbeTrampoline); 163 162 COMPILE_ASSERT(PROBE_OFFSETOF(arg1) == PROBE_ARG1_OFFSET, ProbeContext_arg1_offset_matches_ctiMasmProbeTrampoline); … … 200 199 COMPILE_ASSERT(PROBE_OFFSETOF(cpu.d14) == PROBE_CPU_D14_OFFSET, ProbeContext_cpu_d14_offset_matches_ctiMasmProbeTrampoline); 201 200 COMPILE_ASSERT(PROBE_OFFSETOF(cpu.d15) == PROBE_CPU_D15_OFFSET, ProbeContext_cpu_d15_offset_matches_ctiMasmProbeTrampoline); 202 COMPILE_ASSERT(sizeof( MacroAssemblerARM::ProbeContext) == PROBE_SIZE, ProbeContext_size_matches_ctiMasmProbeTrampoline);201 COMPILE_ASSERT(sizeof(ProbeContext) == PROBE_SIZE, ProbeContext_size_matches_ctiMasmProbeTrampoline); 203 202 #undef PROBE_OFFSETOF 204 203 … … 349 348 #endif // COMPILER(GCC_OR_CLANG) 350 349 351 void MacroAssemblerARM::probe( MacroAssemblerARM::ProbeFunction function, void* arg1, void* arg2)350 void MacroAssemblerARM::probe(ProbeFunction function, void* arg1, void* arg2) 352 351 { 353 352 push(RegisterID::sp);
Note:
See TracChangeset
for help on using the changeset viewer.