Chromium Code Reviews| Index: src/x64/macro-assembler-x64.h |
| diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
| index 931a4eb12fac3baf70b1ff86f5311174832991b3..96a579f82accc928d37c9e40bfd1e86f79ce32aa 100644 |
| --- a/src/x64/macro-assembler-x64.h |
| +++ b/src/x64/macro-assembler-x64.h |
| @@ -1414,7 +1414,18 @@ class MacroAssembler: public Assembler { |
| // scratch_reg gets clobbered. |
| // If allocation info is present, condition flags are set to equal |
|
Jakob Kummerow
2013/10/15 13:56:27
nit: trailing full stop
mvstanton
2013/10/15 15:04:16
Done.
|
| void TestJSArrayForAllocationMemento(Register receiver_reg, |
| - Register scratch_reg); |
| + Register scratch_reg, |
| + Label* no_memento_found); |
| + |
| + void JumpIfJSArrayHasAllocationMemento(Register receiver_reg, |
| + Register scratch_reg, |
| + Label* memento_found) { |
| + Label no_memento_found; |
| + TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, |
| + &no_memento_found); |
| + j(equal, memento_found); |
| + bind(&no_memento_found); |
| + } |
| private: |
| // Order general registers are pushed by Pushad. |