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

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

Issue 886503002: Extract LoadAccessor into a masm function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix whitespace Created 5 years, 10 months 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/ic/x87/handler-compiler-x87.cc ('k') | src/mips/macro-assembler-mips.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/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 void ClampUint8(Register output_reg, Register input_reg); 1509 void ClampUint8(Register output_reg, Register input_reg);
1510 1510
1511 void ClampDoubleToUint8(Register result_reg, 1511 void ClampDoubleToUint8(Register result_reg,
1512 DoubleRegister input_reg, 1512 DoubleRegister input_reg,
1513 DoubleRegister temp_double_reg); 1513 DoubleRegister temp_double_reg);
1514 1514
1515 1515
1516 void LoadInstanceDescriptors(Register map, Register descriptors); 1516 void LoadInstanceDescriptors(Register map, Register descriptors);
1517 void EnumLength(Register dst, Register map); 1517 void EnumLength(Register dst, Register map);
1518 void NumberOfOwnDescriptors(Register dst, Register map); 1518 void NumberOfOwnDescriptors(Register dst, Register map);
1519 void LoadAccessor(Register dst, Register holder, int accessor_index,
1520 AccessorComponent accessor);
1519 1521
1520 template<typename Field> 1522 template<typename Field>
1521 void DecodeField(Register dst, Register src) { 1523 void DecodeField(Register dst, Register src) {
1522 Ext(dst, src, Field::kShift, Field::kSize); 1524 Ext(dst, src, Field::kShift, Field::kSize);
1523 } 1525 }
1524 1526
1525 template<typename Field> 1527 template<typename Field>
1526 void DecodeField(Register reg) { 1528 void DecodeField(Register reg) {
1527 DecodeField<Field>(reg, reg); 1529 DecodeField<Field>(reg, reg);
1528 } 1530 }
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1712 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1714 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1713 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1715 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1714 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1716 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1715 #else 1717 #else
1716 #define ACCESS_MASM(masm) masm-> 1718 #define ACCESS_MASM(masm) masm->
1717 #endif 1719 #endif
1718 1720
1719 } } // namespace v8::internal 1721 } } // namespace v8::internal
1720 1722
1721 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1723 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ic/x87/handler-compiler-x87.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698