| 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 "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/objects.h" | 9 #include "src/objects.h" |
| 10 #include "src/zone.h" | 10 #include "src/zone.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 F(NotifyDeoptimized, 1, 1) \ | 127 F(NotifyDeoptimized, 1, 1) \ |
| 128 F(CompileForOnStackReplacement, 1, 1) \ | 128 F(CompileForOnStackReplacement, 1, 1) \ |
| 129 F(TryInstallOptimizedCode, 1, 1) \ | 129 F(TryInstallOptimizedCode, 1, 1) \ |
| 130 F(CompileString, 2, 1) \ | 130 F(CompileString, 2, 1) \ |
| 131 F(ResolvePossiblyDirectEval, 5, 1) | 131 F(ResolvePossiblyDirectEval, 5, 1) |
| 132 | 132 |
| 133 | 133 |
| 134 #define FOR_EACH_INTRINSIC_DATE(F) \ | 134 #define FOR_EACH_INTRINSIC_DATE(F) \ |
| 135 F(DateMakeDay, 2, 1) \ | 135 F(DateMakeDay, 2, 1) \ |
| 136 F(DateSetValue, 3, 1) \ | 136 F(DateSetValue, 3, 1) \ |
| 137 F(ThrowIfNotADate, 1, 1) \ | 137 F(IsDate, 1, 1) \ |
| 138 F(ThrowNotDateError, 0, 1) \ | 138 F(ThrowNotDateError, 0, 1) \ |
| 139 F(DateCurrentTime, 0, 1) \ | 139 F(DateCurrentTime, 0, 1) \ |
| 140 F(DateParseString, 2, 1) \ | 140 F(DateParseString, 2, 1) \ |
| 141 F(DateLocalTimezone, 1, 1) \ | 141 F(DateLocalTimezone, 1, 1) \ |
| 142 F(DateToUTC, 1, 1) \ | 142 F(DateToUTC, 1, 1) \ |
| 143 F(DateCacheVersion, 0, 1) \ | 143 F(DateCacheVersion, 0, 1) \ |
| 144 F(DateField, 2 /* date object, field index */, 1) | 144 F(DateField, 2 /* date object, field index */, 1) |
| 145 | 145 |
| 146 | 146 |
| 147 #define FOR_EACH_INTRINSIC_DEBUG(F) \ | 147 #define FOR_EACH_INTRINSIC_DEBUG(F) \ |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 924 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
| 925 return size == 1 || size == 2 || size == 4; | 925 return size == 1 || size == 2 || size == 4; |
| 926 } | 926 } |
| 927 | 927 |
| 928 #endif | 928 #endif |
| 929 | 929 |
| 930 } // namespace internal | 930 } // namespace internal |
| 931 } // namespace v8 | 931 } // namespace v8 |
| 932 | 932 |
| 933 #endif // V8_RUNTIME_RUNTIME_H_ | 933 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |