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

Unified Diff: runtime/lib/typed_data.dart

Issue 1148943004: VM: Fix bugs with missing deoptimization environment and int32x4 constructor (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comment Created 5 years, 7 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 | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/typed_data.dart
diff --git a/runtime/lib/typed_data.dart b/runtime/lib/typed_data.dart
index 4fb7fff75d6ad5729379b596a1e02923d638e467..a6d5dfdc0b10cebe944f80a32d57b1a798df3eaa 100644
--- a/runtime/lib/typed_data.dart
+++ b/runtime/lib/typed_data.dart
@@ -1266,7 +1266,7 @@ class _Uint32Array extends _TypedList with _IntListMixin implements Uint32List {
}
void _setIndexedUint32(int index, int value) {
- _setInt32(index * Uint32List.BYTES_PER_ELEMENT, value);
+ _setUint32(index * Uint32List.BYTES_PER_ELEMENT, value);
}
static _Uint32Array _new(int length) native "TypedData_Uint32Array_new";
@@ -1940,7 +1940,7 @@ class _ExternalUint32Array extends _TypedList with _IntListMixin implements Uint
}
void _setIndexedUint32(int index, int value) {
- _setInt32(index * Uint32List.BYTES_PER_ELEMENT, value);
+ _setUint32(index * Uint32List.BYTES_PER_ELEMENT, value);
}
static _ExternalUint32Array _new(int length) native
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698