| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/globals.h" | 9 #include "src/globals.h" |
| 10 #include "src/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 // tag_allocated_object is true the result is tagged as as a heap object. | 531 // tag_allocated_object is true the result is tagged as as a heap object. |
| 532 // All registers are clobbered also when control continues at the gc_required | 532 // All registers are clobbered also when control continues at the gc_required |
| 533 // label. | 533 // label. |
| 534 void Allocate(int object_size, | 534 void Allocate(int object_size, |
| 535 Register result, | 535 Register result, |
| 536 Register scratch1, | 536 Register scratch1, |
| 537 Register scratch2, | 537 Register scratch2, |
| 538 Label* gc_required, | 538 Label* gc_required, |
| 539 AllocationFlags flags); | 539 AllocationFlags flags); |
| 540 | 540 |
| 541 void Allocate(Register object_size, | 541 void Allocate(Register object_size, Register result, Register result_new, |
| 542 Register result, | 542 Register scratch, Label* gc_required, AllocationFlags flags); |
| 543 Register scratch1, | |
| 544 Register scratch2, | |
| 545 Label* gc_required, | |
| 546 AllocationFlags flags); | |
| 547 | 543 |
| 548 void AllocateTwoByteString(Register result, | 544 void AllocateTwoByteString(Register result, |
| 549 Register length, | 545 Register length, |
| 550 Register scratch1, | 546 Register scratch1, |
| 551 Register scratch2, | 547 Register scratch2, |
| 552 Register scratch3, | 548 Register scratch3, |
| 553 Label* gc_required); | 549 Label* gc_required); |
| 554 void AllocateOneByteString(Register result, Register length, | 550 void AllocateOneByteString(Register result, Register length, |
| 555 Register scratch1, Register scratch2, | 551 Register scratch1, Register scratch2, |
| 556 Register scratch3, Label* gc_required); | 552 Register scratch3, Label* gc_required); |
| (...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1762 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1758 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1763 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1759 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1764 #else | 1760 #else |
| 1765 #define ACCESS_MASM(masm) masm-> | 1761 #define ACCESS_MASM(masm) masm-> |
| 1766 #endif | 1762 #endif |
| 1767 | 1763 |
| 1768 } // namespace internal | 1764 } // namespace internal |
| 1769 } // namespace v8 | 1765 } // namespace v8 |
| 1770 | 1766 |
| 1771 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1767 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |