Is the word "block" used in the same way in the following two sentences?

Anne Boleyn placed her head on the block and awaited her execution.

The pyramids were built with large stone blocks.
the same meaning