| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 V(MinusZeroValue, MinusZero) \ | 44 V(MinusZeroValue, MinusZero) \ |
| 45 V(NanValue, Nan) \ | 45 V(NanValue, Nan) \ |
| 46 V(NullValue, Null) \ | 46 V(NullValue, Null) \ |
| 47 V(GlobalPropertyCellMap, PropertyCellMap) \ | 47 V(GlobalPropertyCellMap, PropertyCellMap) \ |
| 48 V(SymbolMap, SymbolMap) \ | 48 V(SymbolMap, SymbolMap) \ |
| 49 V(TheHoleValue, TheHole) \ | 49 V(TheHoleValue, TheHole) \ |
| 50 V(TrueValue, True) \ | 50 V(TrueValue, True) \ |
| 51 V(Tuple2Map, Tuple2Map) \ | 51 V(Tuple2Map, Tuple2Map) \ |
| 52 V(Tuple3Map, Tuple3Map) \ | 52 V(Tuple3Map, Tuple3Map) \ |
| 53 V(UndefinedValue, Undefined) \ | 53 V(UndefinedValue, Undefined) \ |
| 54 V(WeakCellMap, WeakCellMap) | 54 V(WeakCellMap, WeakCellMap) \ |
| 55 V(SpeciesProtector, SpeciesProtector) |
| 55 | 56 |
| 56 // Provides JavaScript-specific "macro-assembler" functionality on top of the | 57 // Provides JavaScript-specific "macro-assembler" functionality on top of the |
| 57 // CodeAssembler. By factoring the JavaScript-isms out of the CodeAssembler, | 58 // CodeAssembler. By factoring the JavaScript-isms out of the CodeAssembler, |
| 58 // it's possible to add JavaScript-specific useful CodeAssembler "macros" | 59 // it's possible to add JavaScript-specific useful CodeAssembler "macros" |
| 59 // without modifying files in the compiler directory (and requiring a review | 60 // without modifying files in the compiler directory (and requiring a review |
| 60 // from a compiler directory OWNER). | 61 // from a compiler directory OWNER). |
| 61 class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { | 62 class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
| 62 public: | 63 public: |
| 63 typedef compiler::Node Node; | 64 typedef compiler::Node Node; |
| 64 | 65 |
| (...skipping 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1589 } | 1590 } |
| 1590 #else | 1591 #else |
| 1591 #define CSA_SLOW_ASSERT(csa, x) ((void)0) | 1592 #define CSA_SLOW_ASSERT(csa, x) ((void)0) |
| 1592 #endif | 1593 #endif |
| 1593 | 1594 |
| 1594 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 1595 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 1595 | 1596 |
| 1596 } // namespace internal | 1597 } // namespace internal |
| 1597 } // namespace v8 | 1598 } // namespace v8 |
| 1598 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 1599 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |