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

Side by Side Diff: src/arm/macro-assembler-arm.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 | « no previous file | 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 "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 void ClampUint8(Register output_reg, Register input_reg); 1350 void ClampUint8(Register output_reg, Register input_reg);
1351 1351
1352 void ClampDoubleToUint8(Register result_reg, 1352 void ClampDoubleToUint8(Register result_reg,
1353 DwVfpRegister input_reg, 1353 DwVfpRegister input_reg,
1354 LowDwVfpRegister double_scratch); 1354 LowDwVfpRegister double_scratch);
1355 1355
1356 1356
1357 void LoadInstanceDescriptors(Register map, Register descriptors); 1357 void LoadInstanceDescriptors(Register map, Register descriptors);
1358 void EnumLength(Register dst, Register map); 1358 void EnumLength(Register dst, Register map);
1359 void NumberOfOwnDescriptors(Register dst, Register map); 1359 void NumberOfOwnDescriptors(Register dst, Register map);
1360 void LoadAccessor(Register dst, Register holder, int accessor_index,
1361 AccessorComponent accessor);
1360 1362
1361 template<typename Field> 1363 template<typename Field>
1362 void DecodeField(Register dst, Register src) { 1364 void DecodeField(Register dst, Register src) {
1363 Ubfx(dst, src, Field::kShift, Field::kSize); 1365 Ubfx(dst, src, Field::kShift, Field::kSize);
1364 } 1366 }
1365 1367
1366 template<typename Field> 1368 template<typename Field>
1367 void DecodeField(Register reg) { 1369 void DecodeField(Register reg) {
1368 DecodeField<Field>(reg, reg); 1370 DecodeField<Field>(reg, reg);
1369 } 1371 }
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1540 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1542 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1541 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1543 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1542 #else 1544 #else
1543 #define ACCESS_MASM(masm) masm-> 1545 #define ACCESS_MASM(masm) masm->
1544 #endif 1546 #endif
1545 1547
1546 1548
1547 } } // namespace v8::internal 1549 } } // namespace v8::internal
1548 1550
1549 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1551 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698