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

Side by Side 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, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/lib/typed_data.dart ('k') | tools/testing/dart/runtime_configuration.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_METHOD_RECOGNIZER_H_ 5 #ifndef VM_METHOD_RECOGNIZER_H_
6 #define VM_METHOD_RECOGNIZER_H_ 6 #define VM_METHOD_RECOGNIZER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 V(_Int8ArrayView, [], Int8ArrayViewGetIndexed, 231994143) \ 360 V(_Int8ArrayView, [], Int8ArrayViewGetIndexed, 231994143) \
361 V(_Int8ArrayView, []=, Int8ArrayViewSetIndexed, 919877023) \ 361 V(_Int8ArrayView, []=, Int8ArrayViewSetIndexed, 919877023) \
362 V(_ByteDataView, setInt8, ByteDataViewSetInt8, 809949404) \ 362 V(_ByteDataView, setInt8, ByteDataViewSetInt8, 809949404) \
363 V(_ByteDataView, setUint8, ByteDataViewSetUint8, 206282345) \ 363 V(_ByteDataView, setUint8, ByteDataViewSetUint8, 206282345) \
364 V(_ByteDataView, setInt16, ByteDataViewSetInt16, 989487799) \ 364 V(_ByteDataView, setInt16, ByteDataViewSetInt16, 989487799) \
365 V(_ByteDataView, setUint16, ByteDataViewSetUint16, 1118155962) \ 365 V(_ByteDataView, setUint16, ByteDataViewSetUint16, 1118155962) \
366 V(_ByteDataView, setInt32, ByteDataViewSetInt32, 1955213160) \ 366 V(_ByteDataView, setInt32, ByteDataViewSetInt32, 1955213160) \
367 V(_ByteDataView, setUint32, ByteDataViewSetUint32, 284405389) \ 367 V(_ByteDataView, setUint32, ByteDataViewSetUint32, 284405389) \
368 V(_ByteDataView, setInt64, ByteDataViewSetInt64, 486916661) \ 368 V(_ByteDataView, setInt64, ByteDataViewSetInt64, 486916661) \
369 V(_ByteDataView, setUint64, ByteDataViewSetUint64, 1432663320) \ 369 V(_ByteDataView, setUint64, ByteDataViewSetUint64, 1432663320) \
370 V(_ByteDataView, setFloat32, ByteDataViewSetFloat32, 733187060) \ 370 V(_ByteDataView, setFloat32, ByteDataViewSetFloat32, 344976311) \
371 V(_ByteDataView, setFloat64, ByteDataViewSetFloat64, 1138577739) \ 371 V(_ByteDataView, setFloat64, ByteDataViewSetFloat64, 1480166018) \
372 V(_ByteDataView, getInt8, ByteDataViewGetInt8, 1383732403) \ 372 V(_ByteDataView, getInt8, ByteDataViewGetInt8, 1383732403) \
373 V(_ByteDataView, getUint8, ByteDataViewGetUint8, 806641537) \ 373 V(_ByteDataView, getUint8, ByteDataViewGetUint8, 806641537) \
374 V(_ByteDataView, getInt16, ByteDataViewGetInt16, 76281079) \ 374 V(_ByteDataView, getInt16, ByteDataViewGetInt16, 76281079) \
375 V(_ByteDataView, getUint16, ByteDataViewGetUint16, 1136415701) \ 375 V(_ByteDataView, getUint16, ByteDataViewGetUint16, 1136415701) \
376 V(_ByteDataView, getInt32, ByteDataViewGetInt32, 865549439) \ 376 V(_ByteDataView, getInt32, ByteDataViewGetInt32, 865549439) \
377 V(_ByteDataView, getUint32, ByteDataViewGetUint32, 760435927) \ 377 V(_ByteDataView, getUint32, ByteDataViewGetUint32, 760435927) \
378 V(_ByteDataView, getInt64, ByteDataViewGetInt64, 364361487) \ 378 V(_ByteDataView, getInt64, ByteDataViewGetInt64, 364361487) \
379 V(_ByteDataView, getUint64, ByteDataViewGetUint64, 565678407) \ 379 V(_ByteDataView, getUint64, ByteDataViewGetUint64, 565678407) \
380 V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 924006540) \ 380 V(_ByteDataView, getFloat32, ByteDataViewGetFloat32, 1979131043) \
381 V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 1863927528) \ 381 V(_ByteDataView, getFloat64, ByteDataViewGetFloat64, 164756117) \
382 V(::, asin, MathASin, 1651042633) \ 382 V(::, asin, MathASin, 1651042633) \
383 V(::, acos, MathACos, 1139647090) \ 383 V(::, acos, MathACos, 1139647090) \
384 V(::, atan, MathATan, 1668754384) \ 384 V(::, atan, MathATan, 1668754384) \
385 V(::, atan2, MathATan2, 1845649456) \ 385 V(::, atan2, MathATan2, 1845649456) \
386 V(::, cos, MathCos, 1951197905) \ 386 V(::, cos, MathCos, 1951197905) \
387 V(::, exp, MathExp, 1809210829) \ 387 V(::, exp, MathExp, 1809210829) \
388 V(::, log, MathLog, 1620336448) \ 388 V(::, log, MathLog, 1620336448) \
389 V(::, max, MathMax, 989552054) \ 389 V(::, max, MathMax, 989552054) \
390 V(::, min, MathMin, 214919172) \ 390 V(::, min, MathMin, 214919172) \
391 V(::, pow, MathPow, 1381728863) \ 391 V(::, pow, MathPow, 1381728863) \
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 #define CHECK_FINGERPRINT2(f, p0, p1, fp) \ 458 #define CHECK_FINGERPRINT2(f, p0, p1, fp) \
459 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp)) 459 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp))
460 460
461 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \ 461 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \
462 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp)) 462 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp))
463 463
464 464
465 } // namespace dart 465 } // namespace dart
466 466
467 #endif // VM_METHOD_RECOGNIZER_H_ 467 #endif // VM_METHOD_RECOGNIZER_H_
OLDNEW
« 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