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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 F(StringCharAt, 2, 1) \ | 579 F(StringCharAt, 2, 1) \ |
580 F(OneByteSeqStringGetChar, 2, 1) \ | 580 F(OneByteSeqStringGetChar, 2, 1) \ |
581 F(OneByteSeqStringSetChar, 3, 1) \ | 581 F(OneByteSeqStringSetChar, 3, 1) \ |
582 F(TwoByteSeqStringGetChar, 2, 1) \ | 582 F(TwoByteSeqStringGetChar, 2, 1) \ |
583 F(TwoByteSeqStringSetChar, 3, 1) \ | 583 F(TwoByteSeqStringSetChar, 3, 1) \ |
584 F(StringCharCodeAt, 2, 1) \ | 584 F(StringCharCodeAt, 2, 1) \ |
585 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ | 585 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ |
586 F(StringGetLength, 1, 1) | 586 F(StringGetLength, 1, 1) |
587 | 587 |
588 | 588 |
589 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 589 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ |
590 F(CreateSymbol, 1, 1) \ | 590 F(CreateSymbol, 1, 1) \ |
591 F(CreatePrivateSymbol, 1, 1) \ | 591 F(CreatePrivateSymbol, 1, 1) \ |
592 F(CreatePrivateOwnSymbol, 1, 1) \ | 592 F(CreateGlobalPrivateSymbol, 1, 1) \ |
593 F(CreateGlobalPrivateOwnSymbol, 1, 1) \ | 593 F(NewSymbolWrapper, 1, 1) \ |
594 F(NewSymbolWrapper, 1, 1) \ | 594 F(SymbolDescription, 1, 1) \ |
595 F(SymbolDescription, 1, 1) \ | 595 F(SymbolRegistry, 0, 1) \ |
596 F(SymbolRegistry, 0, 1) \ | |
597 F(SymbolIsPrivate, 1, 1) | 596 F(SymbolIsPrivate, 1, 1) |
598 | 597 |
599 | 598 |
600 #define FOR_EACH_INTRINSIC_TEST(F) \ | 599 #define FOR_EACH_INTRINSIC_TEST(F) \ |
601 F(DeoptimizeFunction, 1, 1) \ | 600 F(DeoptimizeFunction, 1, 1) \ |
602 F(DeoptimizeNow, 0, 1) \ | 601 F(DeoptimizeNow, 0, 1) \ |
603 F(RunningInSimulator, 0, 1) \ | 602 F(RunningInSimulator, 0, 1) \ |
604 F(IsConcurrentRecompilationSupported, 0, 1) \ | 603 F(IsConcurrentRecompilationSupported, 0, 1) \ |
605 F(OptimizeFunctionOnNextCall, -1, 1) \ | 604 F(OptimizeFunctionOnNextCall, -1, 1) \ |
606 F(OptimizeOsr, -1, 1) \ | 605 F(OptimizeOsr, -1, 1) \ |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 inline bool Runtime::AtomicIsLockFree(uint32_t size) { | 924 inline bool Runtime::AtomicIsLockFree(uint32_t size) { |
926 return size == 1 || size == 2 || size == 4; | 925 return size == 1 || size == 2 || size == 4; |
927 } | 926 } |
928 | 927 |
929 #endif | 928 #endif |
930 | 929 |
931 } // namespace internal | 930 } // namespace internal |
932 } // namespace v8 | 931 } // namespace v8 |
933 | 932 |
934 #endif // V8_RUNTIME_RUNTIME_H_ | 933 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |