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

Side by Side Diff: src/code-stub-assembler.h

Issue 2407303002: [stubs] Renames WordIsSmi to TaggedIsSmi, introducing an appropriate bitcast of the parameter. (Closed)
Patch Set: Renamed TaggedValueIsSmi to TaggedIsSmi. Created 4 years, 2 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/builtins/builtins-typedarray.cc ('k') | src/code-stub-assembler.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/compiler/code-assembler.h" 10 #include "src/compiler/code-assembler.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Allocate an object of the given size. 143 // Allocate an object of the given size.
144 compiler::Node* Allocate(compiler::Node* size, AllocationFlags flags = kNone); 144 compiler::Node* Allocate(compiler::Node* size, AllocationFlags flags = kNone);
145 compiler::Node* Allocate(int size, AllocationFlags flags = kNone); 145 compiler::Node* Allocate(int size, AllocationFlags flags = kNone);
146 compiler::Node* InnerAllocate(compiler::Node* previous, int offset); 146 compiler::Node* InnerAllocate(compiler::Node* previous, int offset);
147 compiler::Node* InnerAllocate(compiler::Node* previous, 147 compiler::Node* InnerAllocate(compiler::Node* previous,
148 compiler::Node* offset); 148 compiler::Node* offset);
149 149
150 void Assert(compiler::Node* condition); 150 void Assert(compiler::Node* condition);
151 151
152 // Check a value for smi-ness 152 // Check a value for smi-ness
153 compiler::Node* WordIsSmi(compiler::Node* a); 153 compiler::Node* TaggedIsSmi(compiler::Node* a);
154 // Check that the value is a non-negative smi. 154 // Check that the value is a non-negative smi.
155 compiler::Node* WordIsPositiveSmi(compiler::Node* a); 155 compiler::Node* WordIsPositiveSmi(compiler::Node* a);
156 156
157 void BranchIfSmiEqual(compiler::Node* a, compiler::Node* b, Label* if_true, 157 void BranchIfSmiEqual(compiler::Node* a, compiler::Node* b, Label* if_true,
158 Label* if_false) { 158 Label* if_false) {
159 BranchIf(SmiEqual(a, b), if_true, if_false); 159 BranchIf(SmiEqual(a, b), if_true, if_false);
160 } 160 }
161 161
162 void BranchIfSmiLessThan(compiler::Node* a, compiler::Node* b, Label* if_true, 162 void BranchIfSmiLessThan(compiler::Node* a, compiler::Node* b, Label* if_true,
163 Label* if_false) { 163 Label* if_false) {
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 Label* bailout); 958 Label* bailout);
959 959
960 static const int kElementLoopUnrollThreshold = 8; 960 static const int kElementLoopUnrollThreshold = 8;
961 }; 961 };
962 962
963 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 963 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
964 964
965 } // namespace internal 965 } // namespace internal
966 } // namespace v8 966 } // namespace v8
967 #endif // V8_CODE_STUB_ASSEMBLER_H_ 967 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-typedarray.cc ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698