OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 \ | 102 \ |
102 /* Array join support */ \ | 103 /* Array join support */ \ |
103 F(PushIfAbsent, 2, 1) \ | 104 F(PushIfAbsent, 2, 1) \ |
104 F(ArrayConcat, 1, 1) \ | 105 F(ArrayConcat, 1, 1) \ |
105 \ | 106 \ |
106 /* Conversions */ \ | 107 /* Conversions */ \ |
107 F(ToBool, 1, 1) \ | 108 F(ToBool, 1, 1) \ |
108 F(Typeof, 1, 1) \ | 109 F(Typeof, 1, 1) \ |
109 \ | 110 \ |
110 F(StringToNumber, 1, 1) \ | 111 F(StringToNumber, 1, 1) \ |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 | 679 |
679 enum kDeclareGlobalsFlags { | 680 enum kDeclareGlobalsFlags { |
680 kDeclareGlobalsEvalFlag = 1 << 0, | 681 kDeclareGlobalsEvalFlag = 1 << 0, |
681 kDeclareGlobalsStrictModeFlag = 1 << 1, | 682 kDeclareGlobalsStrictModeFlag = 1 << 1, |
682 kDeclareGlobalsNativeFlag = 1 << 2 | 683 kDeclareGlobalsNativeFlag = 1 << 2 |
683 }; | 684 }; |
684 | 685 |
685 } } // namespace v8::internal | 686 } } // namespace v8::internal |
686 | 687 |
687 #endif // V8_RUNTIME_H_ | 688 #endif // V8_RUNTIME_H_ |
OLD | NEW |