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

Unified Diff: runtime/lib/simd128.cc

Issue 137893029: Add LL suffix to 64-bit integer constants (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/simd128.cc
diff --git a/runtime/lib/simd128.cc b/runtime/lib/simd128.cc
index 1bb04700ef43c4a8ff5467feff634699a48299e5..548595394e1b383cc53970498c77861f94fb9b19 100644
--- a/runtime/lib/simd128.cc
+++ b/runtime/lib/simd128.cc
@@ -840,8 +840,8 @@ DEFINE_NATIVE_ENTRY(Float64x2_getY, 1) {
DEFINE_NATIVE_ENTRY(Float64x2_getSignMask, 1) {
GET_NON_NULL_NATIVE_ARGUMENT(Float64x2, self, arguments->NativeArgAt(0));
- uint32_t mx = (bit_cast<uint64_t>(self.x()) & 0x8000000000000000) >> 63;
- uint32_t my = (bit_cast<uint64_t>(self.y()) & 0x8000000000000000) >> 63;
+ uint32_t mx = (bit_cast<uint64_t>(self.x()) & 0x8000000000000000LL) >> 63;
+ uint32_t my = (bit_cast<uint64_t>(self.y()) & 0x8000000000000000LL) >> 63;
uint32_t value = mx | (my << 1);
return Integer::New(value);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698