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_H_ | 5 #ifndef V8_RUNTIME_H_ |
6 #define V8_RUNTIME_H_ | 6 #define V8_RUNTIME_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/zone.h" | 9 #include "src/zone.h" |
10 | 10 |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 F(IsJSGlobalProxy, 1, 1) | 396 F(IsJSGlobalProxy, 1, 1) |
397 | 397 |
398 | 398 |
399 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ | 399 #define RUNTIME_FUNCTION_LIST_ALWAYS_3(F) \ |
400 /* String and Regexp */ \ | 400 /* String and Regexp */ \ |
401 F(NumberToStringRT, 1, 1) \ | 401 F(NumberToStringRT, 1, 1) \ |
402 F(RegExpConstructResult, 3, 1) \ | 402 F(RegExpConstructResult, 3, 1) \ |
403 F(RegExpExecRT, 4, 1) \ | 403 F(RegExpExecRT, 4, 1) \ |
404 F(StringAdd, 2, 1) \ | 404 F(StringAdd, 2, 1) \ |
405 F(SubString, 3, 1) \ | 405 F(SubString, 3, 1) \ |
| 406 F(InternalizeString, 1, 1) \ |
406 F(StringCompare, 2, 1) \ | 407 F(StringCompare, 2, 1) \ |
407 F(StringCharCodeAtRT, 2, 1) \ | 408 F(StringCharCodeAtRT, 2, 1) \ |
408 F(GetFromCache, 2, 1) \ | 409 F(GetFromCache, 2, 1) \ |
409 \ | 410 \ |
410 /* Compilation */ \ | 411 /* Compilation */ \ |
411 F(CompileUnoptimized, 1, 1) \ | 412 F(CompileUnoptimized, 1, 1) \ |
412 F(CompileOptimized, 2, 1) \ | 413 F(CompileOptimized, 2, 1) \ |
413 F(TryInstallOptimizedCode, 1, 1) \ | 414 F(TryInstallOptimizedCode, 1, 1) \ |
414 F(NotifyDeoptimized, 1, 1) \ | 415 F(NotifyDeoptimized, 1, 1) \ |
415 F(NotifyStubFailure, 0, 1) \ | 416 F(NotifyStubFailure, 0, 1) \ |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 888 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
888 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 889 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
889 | 890 |
890 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 891 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
891 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 892 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
892 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 893 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
893 | 894 |
894 } } // namespace v8::internal | 895 } } // namespace v8::internal |
895 | 896 |
896 #endif // V8_RUNTIME_H_ | 897 #endif // V8_RUNTIME_H_ |
OLD | NEW |