Changeset 209966 in webkit
- Timestamp:
- Dec 17, 2016 10:44:17 AM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r209963 r209966 1 2016-12-17 Saam Barati <sbarati@apple.com> 2 3 WebAssembly: WasmB3IRGenerator uses WarmAny as a ValueRep but expects the incoming value to be a register 4 https://bugs.webkit.org/show_bug.cgi?id=165989 5 6 Reviewed by Mark Lam. 7 8 The input should be constrained to a register to match what 9 the patchpoint code expects. 10 11 * wasm/WasmB3IRGenerator.cpp: 12 1 13 2016-12-17 Saam Barati <sbarati@apple.com> 2 14 -
trunk/Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp
r209928 r209966 989 989 if (isX86()) 990 990 patchpoint->numGPScratchRegisters = 1; 991 patchpoint->append(ConstrainedValue(arg, ValueRep:: WarmAny));991 patchpoint->append(ConstrainedValue(arg, ValueRep::SomeRegister)); 992 992 patchpoint->setGenerator([=] (CCallHelpers& jit, const StackmapGenerationParams& params) { 993 993 AllowMacroScratchRegisterUsage allowScratch(jit); … … 1009 1009 if (isX86()) 1010 1010 patchpoint->numGPScratchRegisters = 1; 1011 patchpoint->append(ConstrainedValue(arg, ValueRep:: WarmAny));1011 patchpoint->append(ConstrainedValue(arg, ValueRep::SomeRegister)); 1012 1012 patchpoint->setGenerator([=] (CCallHelpers& jit, const StackmapGenerationParams& params) { 1013 1013 AllowMacroScratchRegisterUsage allowScratch(jit);
Note: See TracChangeset
for help on using the changeset viewer.