projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/vm/jit/arm/codegen.c: Remove hack for return value in float registers.
[cacao.git]
/
src
/
vm
/
primitive.hpp
diff --git
a/src/vm/primitive.hpp
b/src/vm/primitive.hpp
index 314bb05d47b4d598f5c73834ba9a1981dbbad0b7..c650521039b15acec2407f1e5ff1ff41e73cc289 100644
(file)
--- a/
src/vm/primitive.hpp
+++ b/
src/vm/primitive.hpp
@@
-50,6
+50,7
@@
public:
static classinfo* get_arrayclass_by_type(int type);
static int get_type_by_wrapperclass(classinfo *c);
static classinfo* get_arrayclass_by_type(int type);
static int get_type_by_wrapperclass(classinfo *c);
+ static int get_type_by_primitiveclass(classinfo *c);
static java_handle_t* box(int type, imm_union value);
static java_handle_t* box(int type, imm_union value);
@@
-63,6
+64,7
@@
public:
static java_handle_t* box(double value);
static imm_union unbox(java_handle_t *o);
static java_handle_t* box(double value);
static imm_union unbox(java_handle_t *o);
+ static bool unbox_typed(java_handle_t *o, int type, imm_union* value);
static uint8_t unbox_boolean(java_handle_t* o);
static int8_t unbox_byte(java_handle_t* o);
static uint8_t unbox_boolean(java_handle_t* o);
static int8_t unbox_byte(java_handle_t* o);
@@
-125,13
+127,6
@@
extern primitivetypeinfo primitivetype_table[PRIMITIVETYPE_COUNT];
void primitive_init(void);
void primitive_postinit(void);
void primitive_init(void);
void primitive_postinit(void);
-#ifndef __cplusplus
-// Legacy C interface.
-classinfo *Primitive_get_class_by_name(utf *name);
-classinfo *Primitive_get_class_by_type(int type);
-classinfo *Primitive_get_arrayclass_by_type(int type);
-#endif
-
#endif // _PRIMITIVE_HPP
#endif // _PRIMITIVE_HPP