OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1112 unibrow::Mapping<unibrow::ToLowercase, 128> to_lower_mapping_; | 1112 unibrow::Mapping<unibrow::ToLowercase, 128> to_lower_mapping_; |
1113 | 1113 |
1114 std::unique_ptr<Runtime::Function[]> redirected_intrinsic_functions_; | 1114 std::unique_ptr<Runtime::Function[]> redirected_intrinsic_functions_; |
1115 | 1115 |
1116 friend class Isolate; | 1116 friend class Isolate; |
1117 friend class Runtime; | 1117 friend class Runtime; |
1118 | 1118 |
1119 DISALLOW_COPY_AND_ASSIGN(RuntimeState); | 1119 DISALLOW_COPY_AND_ASSIGN(RuntimeState); |
1120 }; | 1120 }; |
1121 | 1121 |
1122 | 1122 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, Runtime::FunctionId); |
1123 std::ostream& operator<<(std::ostream&, Runtime::FunctionId); | |
1124 | 1123 |
1125 //--------------------------------------------------------------------------- | 1124 //--------------------------------------------------------------------------- |
1126 // Constants used by interface to runtime functions. | 1125 // Constants used by interface to runtime functions. |
1127 | 1126 |
1128 class AllocateDoubleAlignFlag : public BitField<bool, 0, 1> {}; | 1127 class AllocateDoubleAlignFlag : public BitField<bool, 0, 1> {}; |
1129 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; | 1128 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; |
1130 | 1129 |
1131 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1132 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1133 STATIC_ASSERT(LANGUAGE_END == 2); | 1132 STATIC_ASSERT(LANGUAGE_END == 2); |
1134 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1135 | 1134 |
1136 } // namespace internal | 1135 } // namespace internal |
1137 } // namespace v8 | 1136 } // namespace v8 |
1138 | 1137 |
1139 #endif // V8_RUNTIME_RUNTIME_H_ | 1138 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |