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

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

Issue 272163002: Make BitField3 a raw uint32 field, and move to the start of the map. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 | Annotate | Revision Log
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.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_ARM_MACRO_ASSEMBLER_ARM_H_ 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
7 7
8 #include "assembler.h" 8 #include "assembler.h"
9 #include "frames.h" 9 #include "frames.h"
10 #include "v8globals.h" 10 #include "v8globals.h"
(...skipping 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 LowDwVfpRegister double_scratch); 1350 LowDwVfpRegister double_scratch);
1351 1351
1352 1352
1353 void LoadInstanceDescriptors(Register map, Register descriptors); 1353 void LoadInstanceDescriptors(Register map, Register descriptors);
1354 void EnumLength(Register dst, Register map); 1354 void EnumLength(Register dst, Register map);
1355 void NumberOfOwnDescriptors(Register dst, Register map); 1355 void NumberOfOwnDescriptors(Register dst, Register map);
1356 1356
1357 template<typename Field> 1357 template<typename Field>
1358 void DecodeField(Register reg) { 1358 void DecodeField(Register reg) {
1359 static const int shift = Field::kShift; 1359 static const int shift = Field::kShift;
1360 static const int mask = (Field::kMask >> shift) << kSmiTagSize; 1360 static const int mask = Field::kMask >> shift;
1361 mov(reg, Operand(reg, LSR, shift)); 1361 mov(reg, Operand(reg, LSR, shift));
1362 and_(reg, reg, Operand(mask)); 1362 and_(reg, reg, Operand(mask));
1363 } 1363 }
1364 1364
1365 // Activation support. 1365 // Activation support.
1366 void EnterFrame(StackFrame::Type type, bool load_constant_pool = false); 1366 void EnterFrame(StackFrame::Type type, bool load_constant_pool = false);
1367 // Returns the pc offset at which the frame ends. 1367 // Returns the pc offset at which the frame ends.
1368 int LeaveFrame(StackFrame::Type type); 1368 int LeaveFrame(StackFrame::Type type);
1369 1369
1370 // Expects object in r0 and returns map with validated enum cache 1370 // Expects object in r0 and returns map with validated enum cache
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1576 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1577 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1577 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1578 #else 1578 #else
1579 #define ACCESS_MASM(masm) masm-> 1579 #define ACCESS_MASM(masm) masm->
1580 #endif 1580 #endif
1581 1581
1582 1582
1583 } } // namespace v8::internal 1583 } } // namespace v8::internal
1584 1584
1585 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1585 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698