Added support for running tests on the ARM simulator.

Fixed bug in the 'in' operator where negative indices were not treated correctly.

Fixed build issues on gcc-4.3.1.

Changed Date.prototype.toLocaleTimeString to not print the timezone part of the time.

Renamed debug.h to v8-debug.h to reduce the risk of name conflicts with user code.


git-svn-id: http://v8.googlecode.com/svn/trunk@138 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 3242e7a..37919f1 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -206,7 +206,7 @@
 
 bool Object::IsJSObject() {
   return IsHeapObject()
-    && HeapObject::cast(this)->map()->instance_type() >= JS_OBJECT_TYPE;
+    && HeapObject::cast(this)->map()->instance_type() >= FIRST_JS_OBJECT_TYPE;
 }
 
 
@@ -246,7 +246,7 @@
 }
 
 
-template <> static inline bool Is<JSFunction>(Object* obj) {
+template <> inline bool Is<JSFunction>(Object* obj) {
   return obj->IsJSFunction();
 }
 
@@ -293,7 +293,7 @@
 }
 
 
-template <> static inline bool Is<JSArray>(Object* obj) {
+template <> inline bool Is<JSArray>(Object* obj) {
   return obj->IsJSArray();
 }