Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
PyPy
pypy
Commits
a8c852d5c60e
Commit
84084e62
authored
Mar 04, 2021
by
Matti Picus
Browse files
Options
Browse Files
Download
Plain Diff
merge heads
parents
adbb01ff3dac
2a7e74d4b582
Pipeline
#18801
passed with stage
in 7 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pypy/module/operator/tscmp.c
pypy/module/operator/tscmp.c
+3
-3
No files found.
pypy/module/operator/tscmp.c
View file @
a8c852d5
/* Derived from CPython 3.
3.5
's operator.c::_tscmp
/* Derived from CPython 3.
7
's operator.c::_tscmp
*/
#include <stdlib.h>
...
...
@@ -17,7 +17,7 @@ pypy_tscmp(const char *a, const char *b, Signed len_a, Signed len_b)
volatile
const
char
*
left
;
volatile
const
char
*
right
;
Signed
i
;
char
result
;
volatile
char
result
;
/* loop count depends on length of b */
length
=
len_b
;
...
...
@@ -54,7 +54,7 @@ pypy_tscmp_wide(const wchar_t *a, const wchar_t *b, Signed len_a, Signed len_b)
volatile
const
wchar_t
*
left
;
volatile
const
wchar_t
*
right
;
Signed
i
;
wchar_t
result
;
volatile
wchar_t
result
;
/* loop count depends on length of b */
length
=
len_b
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment