// As of https://reviews.llvm.org/D123534, clang
// now emits DW_TAG_variable DIEs that have
// no name (so as to be able to describe the
- // type and source locations of constant strings
+ // type and source locations of constant strings)
// like the second arg in the call below:
//
// myfunction(42, "foo")
// interface. Instead, live is estimated by knowing the adjusted value of
// GOGC and the new heap goal following a GC (this requires knowing that
// at least one GC has occurred):
- // estLive = 100 * newGoal / (100 + currentGogc)]
+ // estLive = 100 * newGoal / (100 + currentGogc)
// this new value of GOGC
// newGogc = 100*requestedHeapGoal/estLive - 100
// will result in the desired goal. The logging code checks that the
// MOVD $16,R31
// loop:
// STXVD2X VS32,(R0)(R3)
- // STXVD2X VS32,(R31),R3)
+ // STXVD2X VS32,(R31)(R3)
// ADD R3,32
// BC loop
// If the value is the last one in the block, too bad, it will have to do
// (this assumes that the value ordering vaguely corresponds to the source
// program execution order, which tends to be true directly after ssa is
- // first built.
+ // first built).
if i >= len(b.Values)-1 {
return i
}