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

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

Issue 275973002: MIPS: Reland and fix r21225 and r21226. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 6 years, 7 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/mips/full-codegen-mips.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 "assembler.h" 8 #include "assembler.h"
9 #include "mips/assembler-mips.h" 9 #include "mips/assembler-mips.h"
10 #include "v8globals.h" 10 #include "v8globals.h"
(...skipping 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1479 DoubleRegister temp_double_reg); 1479 DoubleRegister temp_double_reg);
1480 1480
1481 1481
1482 void LoadInstanceDescriptors(Register map, Register descriptors); 1482 void LoadInstanceDescriptors(Register map, Register descriptors);
1483 void EnumLength(Register dst, Register map); 1483 void EnumLength(Register dst, Register map);
1484 void NumberOfOwnDescriptors(Register dst, Register map); 1484 void NumberOfOwnDescriptors(Register dst, Register map);
1485 1485
1486 template<typename Field> 1486 template<typename Field>
1487 void DecodeField(Register reg) { 1487 void DecodeField(Register reg) {
1488 static const int shift = Field::kShift; 1488 static const int shift = Field::kShift;
1489 static const int mask = (Field::kMask >> shift) << kSmiTagSize; 1489 static const int mask = Field::kMask >> shift;
1490 srl(reg, reg, shift); 1490 srl(reg, reg, shift);
1491 And(reg, reg, Operand(mask)); 1491 And(reg, reg, Operand(mask));
1492 } 1492 }
1493 1493
1494 // Generates function and stub prologue code. 1494 // Generates function and stub prologue code.
1495 void Prologue(PrologueFrameMode frame_mode); 1495 void Prologue(PrologueFrameMode frame_mode);
1496 1496
1497 // Activation support. 1497 // Activation support.
1498 void EnterFrame(StackFrame::Type type); 1498 void EnterFrame(StackFrame::Type type);
1499 void LeaveFrame(StackFrame::Type type); 1499 void LeaveFrame(StackFrame::Type type);
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1651 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1652 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1652 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1653 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1653 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1654 #else 1654 #else
1655 #define ACCESS_MASM(masm) masm-> 1655 #define ACCESS_MASM(masm) masm->
1656 #endif 1656 #endif
1657 1657
1658 } } // namespace v8::internal 1658 } } // namespace v8::internal
1659 1659
1660 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1660 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/full-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698