Complete OP_CONST_STRING, OP_CONST_CLASS
Added dummy ThrowException & ResolveTypeFromCode routines. Fix
OP_CONST_STRING and OP_CONST_CLASS to be position independent. Misc.
bug fixes.
Created a dummy ThrowException compiler run-time helper function. It
should be replaced with the real version.
Change-Id: Iba6a11cf110d3da4fa36ca434fe1b2675b68434d
diff --git a/src/runtime_support.h b/src/runtime_support.h
index b586042..8d65aaa 100644
--- a/src/runtime_support.h
+++ b/src/runtime_support.h
@@ -8,8 +8,6 @@
extern "C" uint64_t art_shl_long(uint64_t, uint32_t);
extern "C" uint64_t art_shr_long(uint64_t, uint32_t);
extern "C" uint64_t art_ushr_long(uint64_t, uint32_t);
- extern int64_t artD2L(double);
- extern int64_t artF2L(float);
/* Conversions */
extern "C" float __aeabi_i2f(int op1); // OP_INT_TO_FLOAT
@@ -45,6 +43,10 @@
#endif
- extern void artHandleFillArrayDataNoThrow(art::Array*, const uint16_t*);
+namespace art {
+ int64_t D2L(double);
+ int64_t F2L(float);
+ void HandleFillArrayDataFromCode(art::Array*, const uint16_t*);
+}
#endif // ART_SRC_RUNTIME_SUPPORT_H_