Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: runtime/vm/method_recognizer.h

Issue 1059493002: Fixes bug in typed data read/write for floats and doubles. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/typed_data.dart ('k') | tools/testing/dart/runtime_configuration.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/method_recognizer.h
===================================================================
--- runtime/vm/method_recognizer.h (revision 44832)
+++ runtime/vm/method_recognizer.h (working copy)
@@ -367,8 +367,8 @@
V(_ByteDataView, setUint32, ByteDataViewSetUint32, 284405389) \
V(_ByteDataView, setInt64, ByteDataViewSetInt64, 486916661) \
V(_ByteDataView, setUint64, ByteDataViewSetUint64, 1432663320) \
- V(_ByteDataView, setFloat32, ByteDataViewSetFloat32, 733187060) \
- V(_ByteDataView, setFloat64, ByteDataViewSetFloat64, 1138577739) \
+ V(_ByteDataView, setFloat32, ByteDataViewSetFloat32, 344976311) \
+ V(_ByteDataView, setFloat64, ByteDataViewSetFloat64, 1480166018) \
V(_ByteDataView, getInt8, ByteDataViewGetInt8, 1383732403) \
V(_ByteDataView, getUint8, ByteDataViewGetUint8, 806641537) \
V(_ByteDataView, getInt16, ByteDataViewGetInt16, 76281079) \
@@ -377,8 +377,8 @@
V(_ByteDataView, getUint32, ByteDataViewGetUint32, 760435927) \
V(_ByteDataView, getInt64, ByteDataViewGetInt64, 364361487) \
V(_ByteDataView, getUint64, ByteDataViewGetUint64, 565678407) \
- V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 924006540) \
- V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 1863927528) \
+ V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 1979131043) \
+ V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 164756117) \
V(::, asin, MathASin, 1651042633) \
V(::, acos, MathACos, 1139647090) \
V(::, atan, MathATan, 1668754384) \
« no previous file with comments | « runtime/lib/typed_data.dart ('k') | tools/testing/dart/runtime_configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698