[compiler] Add missing source locations to statements, expressions (#34406)
Adds missing locations to all the statement kinds that we produce in codegenInstruction(), and adds generic handling of source locations for the nodes produced by codegenInstructionValue(). There are definitely some places where we are still missing a location, but this should address some of the known issues we've seen such as missing location on `throw`. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34406). * #34394 * __->__ #34406 * #34346 DiffTrain build for [f5e96b974073d3ba80dc844d095c49d5b019afe0](https://github.com/facebook/react/commit/f5e96b974073d3ba80dc844d095c49d5b019afe0)
J
josephsavona committed
a47f44721edd0bb9a3223c9e65455f544f30d18f
Parent: 118621b