Changeset 277312 in webkit
- Timestamp:
- May 10, 2021, 5:44:47 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
jit/JIT.cpp (modified) (2 diffs)
-
jit/JIT.h (modified) (4 diffs)
-
jit/JITInlines.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r277305 r277312 1 2021-05-10 Mark Lam <mark.lam@apple.com> 2 3 Removed unused CallRecord::bytecodeIndex field. 4 https://bugs.webkit.org/show_bug.cgi?id=225627 5 6 Reviewed by Yusuke Suzuki. 7 8 * jit/JIT.cpp: 9 (JSC::JIT::privateCompileExceptionHandlers): 10 * jit/JIT.h: 11 (JSC::CallRecord::CallRecord): 12 * jit/JITInlines.h: 13 (JSC::JIT::emitNakedNearCall): 14 (JSC::JIT::emitNakedNearTailCall): 15 1 16 2021-05-10 Mark Lam <mark.lam@apple.com> 2 17 -
trunk/Source/JavaScriptCore/jit/JIT.cpp
r277305 r277312 1028 1028 move(TrustedImmPtr(&vm()), GPRInfo::argumentGPR0); 1029 1029 prepareCallOperation(vm()); 1030 m_farCalls.append(FarCallRecord(call(OperationPtrTag), BytecodeIndex(),FunctionPtr<OperationPtrTag>(operationLookupExceptionHandlerFromCallerFrame)));1030 m_farCalls.append(FarCallRecord(call(OperationPtrTag), FunctionPtr<OperationPtrTag>(operationLookupExceptionHandlerFromCallerFrame))); 1031 1031 jumpToExceptionHandler(vm()); 1032 1032 } … … 1041 1041 move(TrustedImmPtr(&vm()), GPRInfo::argumentGPR0); 1042 1042 prepareCallOperation(vm()); 1043 m_farCalls.append(FarCallRecord(call(OperationPtrTag), BytecodeIndex(),FunctionPtr<OperationPtrTag>(operationLookupExceptionHandler)));1043 m_farCalls.append(FarCallRecord(call(OperationPtrTag), FunctionPtr<OperationPtrTag>(operationLookupExceptionHandler))); 1044 1044 jumpToExceptionHandler(vm()); 1045 1045 } -
trunk/Source/JavaScriptCore/jit/JIT.h
r276516 r277312 79 79 struct CallRecord { 80 80 MacroAssembler::Call from; 81 BytecodeIndex bytecodeIndex;82 81 FunctionPtr<tag> callee; 83 82 … … 86 85 } 87 86 88 CallRecord(MacroAssembler::Call from, BytecodeIndex bytecodeIndex,FunctionPtr<tag> callee)87 CallRecord(MacroAssembler::Call from, FunctionPtr<tag> callee) 89 88 : from(from) 90 , bytecodeIndex(bytecodeIndex)91 89 , callee(callee) 92 90 { … … 280 278 { 281 279 Call functionCall = call(OperationPtrTag); 282 m_farCalls.append(FarCallRecord(functionCall, m_bytecodeIndex,function.retagged<OperationPtrTag>()));280 m_farCalls.append(FarCallRecord(functionCall, function.retagged<OperationPtrTag>())); 283 281 return functionCall; 284 282 } … … 288 286 { 289 287 Call functionCall = callWithSlowPathReturnType(OperationPtrTag); 290 m_farCalls.append(FarCallRecord(functionCall, m_bytecodeIndex,function.retagged<OperationPtrTag>()));288 m_farCalls.append(FarCallRecord(functionCall, function.retagged<OperationPtrTag>())); 291 289 return functionCall; 292 290 } -
trunk/Source/JavaScriptCore/jit/JITInlines.h
r273217 r277312 1 1 /* 2 * Copyright (C) 2008-20 19Apple Inc. All rights reserved.2 * Copyright (C) 2008-2021 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 94 94 ASSERT(m_bytecodeIndex); // This method should only be called during hot/cold path generation, so that m_bytecodeIndex is set. 95 95 Call nakedCall = nearCall(); 96 m_nearCalls.append(NearCallRecord(nakedCall, m_bytecodeIndex,FunctionPtr<JSInternalPtrTag>(target.retagged<JSInternalPtrTag>())));96 m_nearCalls.append(NearCallRecord(nakedCall, FunctionPtr<JSInternalPtrTag>(target.retagged<JSInternalPtrTag>()))); 97 97 return nakedCall; 98 98 } … … 102 102 ASSERT(m_bytecodeIndex); // This method should only be called during hot/cold path generation, so that m_bytecodeIndex is set. 103 103 Call nakedCall = nearTailCall(); 104 m_nearCalls.append(NearCallRecord(nakedCall, m_bytecodeIndex,FunctionPtr<JSInternalPtrTag>(target.retagged<JSInternalPtrTag>())));104 m_nearCalls.append(NearCallRecord(nakedCall, FunctionPtr<JSInternalPtrTag>(target.retagged<JSInternalPtrTag>()))); 105 105 return nakedCall; 106 106 }
Note:
See TracChangeset
for help on using the changeset viewer.