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

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

Issue 877753007: Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: VS201x now happy? 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/arm/full-codegen-arm.cc ('k') | src/arm64/full-codegen-arm64.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 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 // Loads the type into the second argument register. 937 // Loads the type into the second argument register.
938 // Returns a condition that will be enabled if the object was a string 938 // Returns a condition that will be enabled if the object was a string
939 // and the passed-in condition passed. If the passed-in condition failed 939 // and the passed-in condition passed. If the passed-in condition failed
940 // then flags remain unchanged. 940 // then flags remain unchanged.
941 Condition IsObjectStringType(Register obj, 941 Condition IsObjectStringType(Register obj,
942 Register type, 942 Register type,
943 Condition cond = al) { 943 Condition cond = al) {
944 ldr(type, FieldMemOperand(obj, HeapObject::kMapOffset), cond); 944 ldr(type, FieldMemOperand(obj, HeapObject::kMapOffset), cond);
945 ldrb(type, FieldMemOperand(type, Map::kInstanceTypeOffset), cond); 945 ldrb(type, FieldMemOperand(type, Map::kInstanceTypeOffset), cond);
946 tst(type, Operand(kIsNotStringMask), cond); 946 tst(type, Operand(kIsNotStringMask), cond);
947 DCHECK_EQ(0, kStringTag); 947 DCHECK_EQ(0u, kStringTag);
948 return eq; 948 return eq;
949 } 949 }
950 950
951 951
952 // Picks out an array index from the hash field. 952 // Picks out an array index from the hash field.
953 // Register use: 953 // Register use:
954 // hash - holds the index's hash. Clobbered. 954 // hash - holds the index's hash. Clobbered.
955 // index - holds the overwritten index on exit. 955 // index - holds the overwritten index on exit.
956 void IndexFromHash(Register hash, Register index); 956 void IndexFromHash(Register hash, Register index);
957 957
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1542 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1543 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1543 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1544 #else 1544 #else
1545 #define ACCESS_MASM(masm) masm-> 1545 #define ACCESS_MASM(masm) masm->
1546 #endif 1546 #endif
1547 1547
1548 1548
1549 } } // namespace v8::internal 1549 } } // namespace v8::internal
1550 1550
1551 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1551 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698