Revision: 5279
Author: [email protected]
Date: Mon Aug 16 10:19:38 2010
Log: Array builtins: add inline modifier to help gcc.

Review URL: http://codereview.chromium.org/3181013
http://code.google.com/p/v8/source/detail?r=5279

Modified:
 /branches/bleeding_edge/src/builtins.cc

=======================================
--- /branches/bleeding_edge/src/builtins.cc     Mon Aug 16 09:06:46 2010
+++ /branches/bleeding_edge/src/builtins.cc     Mon Aug 16 10:19:38 2010
@@ -352,7 +352,7 @@
 }


-static Object* EnsureJSArrayWithWritableFastElements(Object* receiver) {
+static inline Object* EnsureJSArrayWithWritableFastElements(Object* receiver) {
   if (!receiver->IsJSArray()) return NULL;
   JSArray* array = JSArray::cast(receiver);
   HeapObject* elms = HeapObject::cast(array->elements());
@@ -364,7 +364,7 @@
 }


-static bool IsJSArrayFastElementMovingAllowed(JSArray* receiver) {
+static inline bool IsJSArrayFastElementMovingAllowed(JSArray* receiver) {
   Context* global_context = Top::context()->global_context();
   JSObject* array_proto =
       JSObject::cast(global_context->array_function()->prototype());

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to