| Index: src/mips/assembler-mips.cc
|
| diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc
|
| index fc664aafa524df3888f25ee752a00837515753d3..42de24c0dd824d106f57054f6784eb5f998a3383 100644
|
| --- a/src/mips/assembler-mips.cc
|
| +++ b/src/mips/assembler-mips.cc
|
| @@ -326,6 +326,14 @@ void Assembler::Align(int m) {
|
| }
|
|
|
|
|
| +void Assembler::DataAlign(int m) {
|
| + DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
|
| + while ((pc_offset() & (m - 1)) != 0) {
|
| + db(0);
|
| + }
|
| +}
|
| +
|
| +
|
| void Assembler::CodeTargetAlign() {
|
| // No advantage to aligning branch/call targets to more than
|
| // single instruction, that I am aware of.
|
|
|