Title: [114575] trunk/Source/_javascript_Core
Revision
114575
Author
[email protected]
Date
2012-04-18 16:08:30 -0700 (Wed, 18 Apr 2012)

Log Message

jsc command line should support typed arrays by default
https://bugs.webkit.org/show_bug.cgi?id=84298

Rubber stamped by Gavin Barraclough.

* JSCTypedArrayStubs.h:
(JSC):
* jsc.cpp:
(GlobalObject::finishCreation):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (114574 => 114575)


--- trunk/Source/_javascript_Core/ChangeLog	2012-04-18 23:07:51 UTC (rev 114574)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-04-18 23:08:30 UTC (rev 114575)
@@ -1,5 +1,17 @@
 2012-04-18  Filip Pizlo  <[email protected]>
 
+        jsc command line should support typed arrays by default
+        https://bugs.webkit.org/show_bug.cgi?id=84298
+
+        Rubber stamped by Gavin Barraclough.
+
+        * JSCTypedArrayStubs.h:
+        (JSC):
+        * jsc.cpp:
+        (GlobalObject::finishCreation):
+
+2012-04-18  Filip Pizlo  <[email protected]>
+
         JSVALUE32_64 should be able to perform division on ARM without crashing, and variables
         forced double should not be scrambled when performing OSR entry
         https://bugs.webkit.org/show_bug.cgi?id=84272

Modified: trunk/Source/_javascript_Core/JSCTypedArrayStubs.h (114574 => 114575)


--- trunk/Source/_javascript_Core/JSCTypedArrayStubs.h	2012-04-18 23:07:51 UTC (rev 114574)
+++ trunk/Source/_javascript_Core/JSCTypedArrayStubs.h	2012-04-18 23:08:30 UTC (rev 114575)
@@ -187,7 +187,6 @@
     return JSValue::encode(JS##name##Array::create(structure, callFrame->lexicalGlobalObject(), name##Array::create(length)));\
 }
 
-#if ENABLE(COMMANDLINE_TYPEDARRAYS)
 TYPED_ARRAY(Uint8, uint8_t);
 TYPED_ARRAY(Uint16, uint16_t);
 TYPED_ARRAY(Uint32, uint32_t);
@@ -196,7 +195,6 @@
 TYPED_ARRAY(Int32, int32_t);
 TYPED_ARRAY(Float32, float);
 TYPED_ARRAY(Float64, double);
-#endif
 
 }
 

Modified: trunk/Source/_javascript_Core/jsc.cpp (114574 => 114575)


--- trunk/Source/_javascript_Core/jsc.cpp	2012-04-18 23:07:51 UTC (rev 114574)
+++ trunk/Source/_javascript_Core/jsc.cpp	2012-04-18 23:08:30 UTC (rev 114575)
@@ -195,7 +195,6 @@
         addFunction(globalData, "clearSamplingFlags", functionClearSamplingFlags, 1);
 #endif
         
-#if ENABLE(COMMANDLINE_TYPEDARRAYS)
         addConstructableFunction(globalData, "Uint8Array", constructJSUint8Array, 1);
         addConstructableFunction(globalData, "Uint16Array", constructJSUint16Array, 1);
         addConstructableFunction(globalData, "Uint32Array", constructJSUint32Array, 1);
@@ -204,7 +203,6 @@
         addConstructableFunction(globalData, "Int32Array", constructJSInt32Array, 1);
         addConstructableFunction(globalData, "Float32Array", constructJSFloat32Array, 1);
         addConstructableFunction(globalData, "Float64Array", constructJSFloat64Array, 1);
-#endif
 
         JSArray* array = constructEmptyArray(globalExec());
         for (size_t i = 0; i < arguments.size(); ++i)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to