// Class Gogo.
-Gogo::Gogo(Backend* backend, Linemap* linemap, int int_type_size,
- int pointer_size)
+Gogo::Gogo(Backend* backend, Linemap* linemap, int, int pointer_size)
: backend_(backend),
linemap_(linemap),
package_(NULL),
this->add_named_type(Type::make_complex_type("complex128", 128,
RUNTIME_TYPE_KIND_COMPLEX128));
+ int int_type_size = pointer_size;
if (int_type_size < 32)
int_type_size = 32;
this->add_named_type(Type::make_integer_type("uint", true,
typedef signed int intptr __attribute__ ((mode (pointer)));
typedef unsigned int uintptr __attribute__ ((mode (pointer)));
-typedef int intgo; // Go's int
-typedef unsigned int uintgo; // Go's uint
+typedef intptr intgo; // Go's int
+typedef uintptr uintgo; // Go's uint
/* Defined types. */