Changeset 229446 in webkit
- Timestamp:
- Mar 8, 2018 5:46:23 PM (6 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r229444 r229446 1 2018-03-08 Michael Saboff <msaboff@apple.com> 2 3 testmasm crashes in testBranchTruncateDoubleToInt32() on ARM64 4 https://bugs.webkit.org/show_bug.cgi?id=183488 5 6 Reviewed by Mark Lam. 7 8 Using stackAlignmentBytes() will keep the stack properly aligned. 9 10 * assembler/testmasm.cpp: 11 (JSC::testBranchTruncateDoubleToInt32): 12 1 13 2018-03-08 Michael Saboff <msaboff@apple.com> 2 14 -
trunk/Source/JavaScriptCore/assembler/testmasm.cpp
r229054 r229446 33 33 #include "LinkBuffer.h" 34 34 #include "ProbeContext.h" 35 #include "StackAlignment.h" 35 36 #include <limits> 36 37 #include <wtf/Compiler.h> … … 199 200 CHECK_EQ(compileAndRun<int>([&] (CCallHelpers& jit) { 200 201 jit.emitFunctionPrologue(); 201 jit.subPtr(CCallHelpers::TrustedImm32( 8), MacroAssembler::stackPointerRegister);202 jit.subPtr(CCallHelpers::TrustedImm32(stackAlignmentBytes()), MacroAssembler::stackPointerRegister); 202 203 if (isBigEndian) { 203 204 jit.store32(CCallHelpers::TrustedImm32(valAsUInt >> 32), … … 219 220 220 221 done.link(&jit); 221 jit.addPtr(CCallHelpers::TrustedImm32( 8), MacroAssembler::stackPointerRegister);222 jit.addPtr(CCallHelpers::TrustedImm32(stackAlignmentBytes()), MacroAssembler::stackPointerRegister); 222 223 jit.emitFunctionEpilogue(); 223 224 jit.ret();
Note: See TracChangeset
for help on using the changeset viewer.