| 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 28 matching lines...) Expand all Loading... |
| 39 Code::Flags flags, const char* name); | 39 Code::Flags flags, const char* name); |
| 40 | 40 |
| 41 enum AllocationFlag : uint8_t { | 41 enum AllocationFlag : uint8_t { |
| 42 kNone = 0, | 42 kNone = 0, |
| 43 kDoubleAlignment = 1, | 43 kDoubleAlignment = 1, |
| 44 kPretenured = 1 << 1 | 44 kPretenured = 1 << 1 |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 typedef base::Flags<AllocationFlag> AllocationFlags; | 47 typedef base::Flags<AllocationFlag> AllocationFlags; |
| 48 | 48 |
| 49 enum ParameterMode { INTEGER_PARAMETERS, SMI_PARAMETERS }; | 49 enum ParameterMode { INTEGER_PARAMETERS, SMI_PARAMETERS, INTPTR_PARAMETERS }; |
| 50 | 50 |
| 51 compiler::Node* BooleanMapConstant(); | 51 compiler::Node* BooleanMapConstant(); |
| 52 compiler::Node* EmptyStringConstant(); | 52 compiler::Node* EmptyStringConstant(); |
| 53 compiler::Node* HeapNumberMapConstant(); | 53 compiler::Node* HeapNumberMapConstant(); |
| 54 compiler::Node* NoContextConstant(); | 54 compiler::Node* NoContextConstant(); |
| 55 compiler::Node* NanConstant(); | 55 compiler::Node* NanConstant(); |
| 56 compiler::Node* NullConstant(); | 56 compiler::Node* NullConstant(); |
| 57 compiler::Node* MinusZeroConstant(); | 57 compiler::Node* MinusZeroConstant(); |
| 58 compiler::Node* UndefinedConstant(); | 58 compiler::Node* UndefinedConstant(); |
| 59 compiler::Node* TheHoleConstant(); | 59 compiler::Node* TheHoleConstant(); |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 compiler::Node* SmiShiftBitsConstant(); | 608 compiler::Node* SmiShiftBitsConstant(); |
| 609 | 609 |
| 610 static const int kElementLoopUnrollThreshold = 8; | 610 static const int kElementLoopUnrollThreshold = 8; |
| 611 }; | 611 }; |
| 612 | 612 |
| 613 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 613 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
| 614 | 614 |
| 615 } // namespace internal | 615 } // namespace internal |
| 616 } // namespace v8 | 616 } // namespace v8 |
| 617 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 617 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
| OLD | NEW |