| 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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 Node* IsNativeContext(Node* object); | 727 Node* IsNativeContext(Node* object); |
| 728 Node* IsWeakCell(Node* object); | 728 Node* IsWeakCell(Node* object); |
| 729 Node* IsFixedDoubleArray(Node* object); | 729 Node* IsFixedDoubleArray(Node* object); |
| 730 Node* IsHashTable(Node* object); | 730 Node* IsHashTable(Node* object); |
| 731 Node* IsDictionary(Node* object); | 731 Node* IsDictionary(Node* object); |
| 732 Node* IsUnseededNumberDictionary(Node* object); | 732 Node* IsUnseededNumberDictionary(Node* object); |
| 733 Node* IsConstructorMap(Node* map); | 733 Node* IsConstructorMap(Node* map); |
| 734 Node* IsJSFunction(Node* object); | 734 Node* IsJSFunction(Node* object); |
| 735 Node* IsJSTypedArray(Node* object); | 735 Node* IsJSTypedArray(Node* object); |
| 736 Node* IsFixedTypedArray(Node* object); | 736 Node* IsFixedTypedArray(Node* object); |
| 737 Node* IsJSRegExp(Node* object); |
| 737 | 738 |
| 738 // ElementsKind helpers: | 739 // ElementsKind helpers: |
| 739 Node* IsFastElementsKind(Node* elements_kind); | 740 Node* IsFastElementsKind(Node* elements_kind); |
| 740 Node* IsHoleyFastElementsKind(Node* elements_kind); | 741 Node* IsHoleyFastElementsKind(Node* elements_kind); |
| 741 | 742 |
| 742 // String helpers. | 743 // String helpers. |
| 743 // Load a character from a String (might flatten a ConsString). | 744 // Load a character from a String (might flatten a ConsString). |
| 744 Node* StringCharCodeAt(Node* string, Node* index, | 745 Node* StringCharCodeAt(Node* string, Node* index, |
| 745 ParameterMode parameter_mode = SMI_PARAMETERS); | 746 ParameterMode parameter_mode = SMI_PARAMETERS); |
| 746 // Return the single character string with only {code}. | 747 // Return the single character string with only {code}. |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1492 } | 1493 } |
| 1493 #else | 1494 #else |
| 1494 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1495 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
| 1495 #endif | 1496 #endif |
| 1496 | 1497 |
| 1497 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1498 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1498 | 1499 |
| 1499 } // namespace internal | 1500 } // namespace internal |
| 1500 } // namespace v8 | 1501 } // namespace v8 |
| 1501 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1502 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |