| OLD | NEW |
| 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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 Node* IsJSValue(Node* object); | 672 Node* IsJSValue(Node* object); |
| 673 Node* IsJSArray(Node* object); | 673 Node* IsJSArray(Node* object); |
| 674 Node* IsNativeContext(Node* object); | 674 Node* IsNativeContext(Node* object); |
| 675 Node* IsWeakCell(Node* object); | 675 Node* IsWeakCell(Node* object); |
| 676 Node* IsFixedDoubleArray(Node* object); | 676 Node* IsFixedDoubleArray(Node* object); |
| 677 Node* IsHashTable(Node* object); | 677 Node* IsHashTable(Node* object); |
| 678 Node* IsDictionary(Node* object); | 678 Node* IsDictionary(Node* object); |
| 679 Node* IsUnseededNumberDictionary(Node* object); | 679 Node* IsUnseededNumberDictionary(Node* object); |
| 680 Node* IsConstructorMap(Node* map); | 680 Node* IsConstructorMap(Node* map); |
| 681 Node* IsJSFunction(Node* object); | 681 Node* IsJSFunction(Node* object); |
| 682 Node* IsJSBoundFunction(Node* object); |
| 682 | 683 |
| 683 // ElementsKind helpers: | 684 // ElementsKind helpers: |
| 684 Node* IsFastElementsKind(Node* elements_kind); | 685 Node* IsFastElementsKind(Node* elements_kind); |
| 685 Node* IsHoleyFastElementsKind(Node* elements_kind); | 686 Node* IsHoleyFastElementsKind(Node* elements_kind); |
| 686 | 687 |
| 687 // String helpers. | 688 // String helpers. |
| 688 // Load a character from a String (might flatten a ConsString). | 689 // Load a character from a String (might flatten a ConsString). |
| 689 Node* StringCharCodeAt(Node* string, Node* index, | 690 Node* StringCharCodeAt(Node* string, Node* index, |
| 690 ParameterMode parameter_mode = SMI_PARAMETERS); | 691 ParameterMode parameter_mode = SMI_PARAMETERS); |
| 691 // Return the single character string with only {code}. | 692 // Return the single character string with only {code}. |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1269 } | 1270 } |
| 1270 #else | 1271 #else |
| 1271 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1272 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
| 1272 #endif | 1273 #endif |
| 1273 | 1274 |
| 1274 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1275 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1275 | 1276 |
| 1276 } // namespace internal | 1277 } // namespace internal |
| 1277 } // namespace v8 | 1278 } // namespace v8 |
| 1278 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1279 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |