| Index: runtime/vm/assembler_arm.cc
|
| ===================================================================
|
| --- runtime/vm/assembler_arm.cc (revision 18767)
|
| +++ runtime/vm/assembler_arm.cc (working copy)
|
| @@ -1176,7 +1176,7 @@
|
|
|
|
|
| void Assembler::BranchLinkPatchable(const ExternalLabel* label) {
|
| - // TODO(regis): Make sure that CodePatcher is able to patch the label referred
|
| + // Make sure that class CallPattern is able to patch the label referred
|
| // to by this code sequence.
|
| // For added code robustness, use 'blx lr' in a patchable sequence and
|
| // use 'blx ip' in a non-patchable sequence (see other BranchLink flavors).
|
| @@ -1557,7 +1557,7 @@
|
| }
|
| }
|
| object_pool_.Add(obj);
|
| - return object_pool_.Length();
|
| + return object_pool_.Length() - 1;
|
| }
|
|
|
|
|
| @@ -1574,7 +1574,7 @@
|
| // Do not reuse an existing entry, since each reference may be patched
|
| // independently.
|
| object_pool_.Add(smi);
|
| - return object_pool_.Length();
|
| + return object_pool_.Length() - 1;
|
| }
|
|
|
| } // namespace dart
|
|
|