Skip to content

Commit

Permalink
Update src/julia_internal.h
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithHafner authored Oct 14, 2023
1 parent 03e8d0d commit e0f7356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julia_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static inline uint64_t cycleclock(void) JL_NOTSAFEPOINT
#define NOP5_OVERRIDE_NOP ".byte 0x0f, 0x1f, 0x44, 0x00, 0x00\n\t"
uint64_t low, high;
// This instruction sequence is promised by rr to be patchable. rr can usually
// also patch `rdtsc` in regular code, but without the proceeding nop, there could
// also patch `rdtsc` in regular code, but without the preceding nop, there could
// be an interfering branch into the middle of rr's patch region. Using this
// sequence prevents a massive rr-induced slowdown if the compiler happens to emit
// an unlucky pattern. See https://github.com/rr-debugger/rr/pull/3580.
Expand Down

0 comments on commit e0f7356

Please sign in to comment.