OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 F(GetFunctionDelegate, 1, 1) \ | 84 F(GetFunctionDelegate, 1, 1) \ |
85 F(GetConstructorDelegate, 1, 1) \ | 85 F(GetConstructorDelegate, 1, 1) \ |
86 F(NewArgumentsFast, 3, 1) \ | 86 F(NewArgumentsFast, 3, 1) \ |
87 F(NewStrictArgumentsFast, 3, 1) \ | 87 F(NewStrictArgumentsFast, 3, 1) \ |
88 F(LazyCompile, 1, 1) \ | 88 F(LazyCompile, 1, 1) \ |
89 F(LazyRecompile, 1, 1) \ | 89 F(LazyRecompile, 1, 1) \ |
90 F(NotifyDeoptimized, 1, 1) \ | 90 F(NotifyDeoptimized, 1, 1) \ |
91 F(NotifyOSR, 0, 1) \ | 91 F(NotifyOSR, 0, 1) \ |
92 F(DeoptimizeFunction, 1, 1) \ | 92 F(DeoptimizeFunction, 1, 1) \ |
93 F(RunningInSimulator, 0, 1) \ | 93 F(RunningInSimulator, 0, 1) \ |
94 F(OptimizeFunctionOnNextCall, 1, 1) \ | 94 F(OptimizeFunctionOnNextCall, -1, 1) \ |
95 F(GetOptimizationStatus, 1, 1) \ | 95 F(GetOptimizationStatus, 1, 1) \ |
96 F(GetOptimizationCount, 1, 1) \ | 96 F(GetOptimizationCount, 1, 1) \ |
97 F(CompileForOnStackReplacement, 1, 1) \ | 97 F(CompileForOnStackReplacement, 1, 1) \ |
98 F(SetNewFunctionAttributes, 1, 1) \ | 98 F(SetNewFunctionAttributes, 1, 1) \ |
99 F(AllocateInNewSpace, 1, 1) \ | 99 F(AllocateInNewSpace, 1, 1) \ |
100 F(SetNativeFlag, 1, 1) \ | 100 F(SetNativeFlag, 1, 1) \ |
101 F(StoreArrayLiteralElement, 5, 1) \ | 101 F(StoreArrayLiteralElement, 5, 1) \ |
102 \ | 102 \ |
103 /* Array join support */ \ | 103 /* Array join support */ \ |
104 F(PushIfAbsent, 2, 1) \ | 104 F(PushIfAbsent, 2, 1) \ |
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 //--------------------------------------------------------------------------- | 698 //--------------------------------------------------------------------------- |
699 // Constants used by interface to runtime functions. | 699 // Constants used by interface to runtime functions. |
700 | 700 |
701 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 701 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
702 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 702 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
703 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 703 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
704 | 704 |
705 } } // namespace v8::internal | 705 } } // namespace v8::internal |
706 | 706 |
707 #endif // V8_RUNTIME_H_ | 707 #endif // V8_RUNTIME_H_ |
OLD | NEW |