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

Unified Diff: runtime/vm/assembler_arm.cc

Issue 12433011: Fix build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.cc
===================================================================
--- runtime/vm/assembler_arm.cc (revision 19572)
+++ runtime/vm/assembler_arm.cc (working copy)
@@ -1246,7 +1246,7 @@
}
const int32_t offset =
Array::data_offset() + 4*AddObject(object) - kHeapObjectTag;
- int32_t offset_mask;
+ int32_t offset_mask = 0;
if (Address::CanHoldLoadOffset(kLoadWord, offset, &offset_mask)) {
ldr(rd, Address(PP, offset));
} else {
@@ -1409,7 +1409,7 @@
// use 'blx ip' in a non-patchable sequence (see other BranchLink flavors).
const int32_t offset =
Array::data_offset() + 4*AddExternalLabel(label) - kHeapObjectTag;
- int32_t offset_mask;
+ int32_t offset_mask = 0;
if (Address::CanHoldLoadOffset(kLoadWord, offset, &offset_mask)) {
ldr(LR, Address(PP, offset));
} else {
@@ -1444,7 +1444,7 @@
void Assembler::BranchLinkOffset(Register base, int offset) {
ASSERT(base != PC);
ASSERT(base != IP);
- int32_t offset_mask;
+ int32_t offset_mask = 0;
if (Address::CanHoldLoadOffset(kLoadWord, offset, &offset_mask)) {
ldr(IP, Address(base, offset));
} else {
@@ -1511,7 +1511,7 @@
Register base,
int32_t offset,
Condition cond) {
- int32_t offset_mask;
+ int32_t offset_mask = 0;
if (!Address::CanHoldLoadOffset(type, offset, &offset_mask)) {
ASSERT(base != IP);
AddImmediate(IP, base, offset & ~offset_mask, cond);
@@ -1548,7 +1548,7 @@
Register base,
int32_t offset,
Condition cond) {
- int32_t offset_mask;
+ int32_t offset_mask = 0;
if (!Address::CanHoldStoreOffset(type, offset, &offset_mask)) {
ASSERT(reg != IP);
ASSERT(base != IP);
@@ -1579,7 +1579,7 @@
Register base,
int32_t offset,
Condition cond) {
- int32_t offset_mask;
+ int32_t offset_mask = 0;
if (!Address::CanHoldLoadOffset(kLoadSWord, offset, &offset_mask)) {
ASSERT(base != IP);
AddImmediate(IP, base, offset & ~offset_mask, cond);
@@ -1594,7 +1594,7 @@
Register base,
int32_t offset,
Condition cond) {
- int32_t offset_mask;
+ int32_t offset_mask = 0;
if (!Address::CanHoldStoreOffset(kStoreSWord, offset, &offset_mask)) {
ASSERT(base != IP);
AddImmediate(IP, base, offset & ~offset_mask, cond);
@@ -1609,7 +1609,7 @@
Register base,
int32_t offset,
Condition cond) {
- int32_t offset_mask;
+ int32_t offset_mask = 0;
if (!Address::CanHoldLoadOffset(kLoadDWord, offset, &offset_mask)) {
ASSERT(base != IP);
AddImmediate(IP, base, offset & ~offset_mask, cond);
@@ -1624,7 +1624,7 @@
Register base,
int32_t offset,
Condition cond) {
- int32_t offset_mask;
+ int32_t offset_mask = 0;
if (!Address::CanHoldStoreOffset(kStoreDWord, offset, &offset_mask)) {
ASSERT(base != IP);
AddImmediate(IP, base, offset & ~offset_mask, cond);
« 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