@Override
	public int getFrameSize() {
		function.manager.lock.acquire();
		try {
			return getParameterSize() + getLocalSize();
		}
		finally {
			function.manager.lock.release();
		}
	}
Construct a function stack frame.
@param function
@param variables
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionStackFrame.java