[pypy-svn] r16236 - pypy/dist/pypy/translator/llvm2/module
ericvrp at codespeak.net
ericvrp at codespeak.net
Mon Aug 22 21:50:47 CEST 2005
Author: ericvrp
Date: Mon Aug 22 21:50:46 2005
New Revision: 16236
Modified:
pypy/dist/pypy/translator/llvm2/module/ll_os.py
pypy/dist/pypy/translator/llvm2/module/support.py
Log:
typos
Modified: pypy/dist/pypy/translator/llvm2/module/ll_os.py
==============================================================================
--- pypy/dist/pypy/translator/llvm2/module/ll_os.py (original)
+++ pypy/dist/pypy/translator/llvm2/module/ll_os.py Mon Aug 22 21:50:46 2005
@@ -5,7 +5,7 @@
declare ccc INT %open(sbyte*, INT, INT)
declare ccc INT %write(INT, sbyte*, INT)
declare ccc INT %read(INT, sbyte*, INT)
-declare ccc sbyte* %strncpy(sbyte*, sbyte*, int)
+declare ccc sbyte* %strncpy(sbyte*, sbyte*, INT)
declare ccc INT %isatty(INT)
declare ccc INT %stat(sbyte*, [32 x INT]*)
declare ccc INT %fstat(INT, [32 x INT]*)
@@ -13,7 +13,7 @@
declare ccc INT %ftruncate(INT, INT)
declare ccc sbyte* %getcwd(sbyte*, INT)
-%errno = external global int
+%errno = external global INT
%__ll_os_getcwd = internal constant [12 x sbyte] c"getcwd.....\\00"
%__ll_os_ftruncate = internal constant [12 x sbyte] c"ftruncate..\\00"
Modified: pypy/dist/pypy/translator/llvm2/module/support.py
==============================================================================
--- pypy/dist/pypy/translator/llvm2/module/support.py (original)
+++ pypy/dist/pypy/translator/llvm2/module/support.py Mon Aug 22 21:50:46 2005
@@ -41,7 +41,7 @@
extfunctions["%string_to_RPyString"] = ((), """
internal fastcc %RPyString* %string_to_RPyString(sbyte* %s) {
%len = call ccc INT %strlen(sbyte* %s)
- %rpy = call fastcc %RPyString* %RPyString_New__Signed(int %len)
+ %rpy = call fastcc %RPyString* %RPyString_New__Signed(INT %len)
%rpystrptr = getelementptr %RPyString* %rpy, int 0, uint 1, uint 1
%rpystr = cast [0 x sbyte]* %rpystrptr to sbyte*
More information about the Pypy-commit
mailing list