Skip to content

Commit

Permalink
Fix copy paste typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyReaper committed Dec 16, 2014
1 parent 217fe71 commit 853adce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion as_jit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ void stdcall i64_srl(unsigned long long* a, asDWORD* b, unsigned long long* r) {
}

void stdcall i64_sra(long long* a, asDWORD* b, long long* r) {
*r = *a << *b;
*r = *a >> *b;
}

int stdcall cmp_int64(long long* a, long long* b) {
Expand Down

1 comment on commit 853adce

@Seren-35
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi. I was just browsing the code and noticed the same typo appears in the preceding function:

void stdcall i64_srl(unsigned long long* a, asDWORD* b, unsigned long long* r) {
    *r = *a << *b;
}

I didn't entirely familiarize myself with the rest of the code, or use the tool, but I interpolate that "srl" stands for logical shift right, and those arrows are certainly not facing right. Cheers.

Please sign in to comment.