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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 F(NumberToJSUint32, 1, 1) \ | 127 F(NumberToJSUint32, 1, 1) \ |
128 F(NumberToJSInt32, 1, 1) \ | 128 F(NumberToJSInt32, 1, 1) \ |
129 \ | 129 \ |
130 /* Arithmetic operations */ \ | 130 /* Arithmetic operations */ \ |
131 F(NumberAdd, 2, 1) \ | 131 F(NumberAdd, 2, 1) \ |
132 F(NumberSub, 2, 1) \ | 132 F(NumberSub, 2, 1) \ |
133 F(NumberMul, 2, 1) \ | 133 F(NumberMul, 2, 1) \ |
134 F(NumberDiv, 2, 1) \ | 134 F(NumberDiv, 2, 1) \ |
135 F(NumberMod, 2, 1) \ | 135 F(NumberMod, 2, 1) \ |
136 F(NumberUnaryMinus, 1, 1) \ | 136 F(NumberUnaryMinus, 1, 1) \ |
137 F(NumberAlloc, 0, 1) \ | |
138 F(NumberImul, 2, 1) \ | 137 F(NumberImul, 2, 1) \ |
139 \ | 138 \ |
140 F(StringBuilderConcat, 3, 1) \ | 139 F(StringBuilderConcat, 3, 1) \ |
141 F(StringBuilderJoin, 3, 1) \ | 140 F(StringBuilderJoin, 3, 1) \ |
142 F(SparseJoinWithSeparator, 3, 1) \ | 141 F(SparseJoinWithSeparator, 3, 1) \ |
143 \ | 142 \ |
144 /* Bit operations */ \ | 143 /* Bit operations */ \ |
145 F(NumberOr, 2, 1) \ | 144 F(NumberOr, 2, 1) \ |
146 F(NumberAnd, 2, 1) \ | 145 F(NumberAnd, 2, 1) \ |
147 F(NumberXor, 2, 1) \ | 146 F(NumberXor, 2, 1) \ |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 908 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
910 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 909 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
911 | 910 |
912 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 911 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
913 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 912 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
914 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 913 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
915 | 914 |
916 } } // namespace v8::internal | 915 } } // namespace v8::internal |
917 | 916 |
918 #endif // V8_RUNTIME_H_ | 917 #endif // V8_RUNTIME_H_ |
OLD | NEW |