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

Side by Side Diff: src/mips64/macro-assembler-mips64.h

Issue 1455293004: Simplify MacroAssembler::InvokePrologue a bit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix MIPS64 compilation. Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 1744 matching lines...) Expand 10 before | Expand all | Expand 10 after
1755 BranchDelaySlot bd = PROTECT); 1755 BranchDelaySlot bd = PROTECT);
1756 1756
1757 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, 1757 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc,
1758 FPURegister cmp1, FPURegister cmp2, 1758 FPURegister cmp1, FPURegister cmp2,
1759 BranchDelaySlot bd = PROTECT); 1759 BranchDelaySlot bd = PROTECT);
1760 1760
1761 1761
1762 // Helper functions for generating invokes. 1762 // Helper functions for generating invokes.
1763 void InvokePrologue(const ParameterCount& expected, 1763 void InvokePrologue(const ParameterCount& expected,
1764 const ParameterCount& actual, 1764 const ParameterCount& actual,
1765 Handle<Code> code_constant,
1766 Register code_reg,
1767 Label* done, 1765 Label* done,
1768 bool* definitely_mismatches, 1766 bool* definitely_mismatches,
1769 InvokeFlag flag, 1767 InvokeFlag flag,
1770 const CallWrapper& call_wrapper); 1768 const CallWrapper& call_wrapper);
1771 1769
1772 void InitializeNewString(Register string, 1770 void InitializeNewString(Register string,
1773 Register length, 1771 Register length,
1774 Heap::RootListIndex map_index, 1772 Heap::RootListIndex map_index,
1775 Register scratch1, 1773 Register scratch1,
1776 Register scratch2); 1774 Register scratch2);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1850 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1848 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1851 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1849 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1852 #else 1850 #else
1853 #define ACCESS_MASM(masm) masm-> 1851 #define ACCESS_MASM(masm) masm->
1854 #endif 1852 #endif
1855 1853
1856 } // namespace internal 1854 } // namespace internal
1857 } // namespace v8 1855 } // namespace v8
1858 1856
1859 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1857 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698