OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // Define list of builtins implemented in JavaScript. | 98 // Define list of builtins implemented in JavaScript. |
99 #define BUILTINS_LIST_JS(V) \ | 99 #define BUILTINS_LIST_JS(V) \ |
100 V(EQUALS, 1) \ | 100 V(EQUALS, 1) \ |
101 V(STRICT_EQUALS, 1) \ | 101 V(STRICT_EQUALS, 1) \ |
102 V(COMPARE, 2) \ | 102 V(COMPARE, 2) \ |
103 V(ADD, 1) \ | 103 V(ADD, 1) \ |
104 V(SUB, 1) \ | 104 V(SUB, 1) \ |
105 V(MUL, 1) \ | 105 V(MUL, 1) \ |
106 V(DIV, 1) \ | 106 V(DIV, 1) \ |
107 V(MOD, 1) \ | 107 V(MOD, 1) \ |
108 V(INC, 0) \ | |
109 V(DEC, 0) \ | |
110 V(BIT_OR, 1) \ | 108 V(BIT_OR, 1) \ |
111 V(BIT_AND, 1) \ | 109 V(BIT_AND, 1) \ |
112 V(BIT_XOR, 1) \ | 110 V(BIT_XOR, 1) \ |
113 V(UNARY_MINUS, 0) \ | 111 V(UNARY_MINUS, 0) \ |
114 V(BIT_NOT, 0) \ | 112 V(BIT_NOT, 0) \ |
115 V(SHL, 1) \ | 113 V(SHL, 1) \ |
116 V(SAR, 1) \ | 114 V(SAR, 1) \ |
117 V(SHR, 1) \ | 115 V(SHR, 1) \ |
118 V(DELETE, 1) \ | 116 V(DELETE, 1) \ |
119 V(IN, 1) \ | 117 V(IN, 1) \ |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); | 208 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); |
211 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); | 209 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); |
212 | 210 |
213 static void Generate_FunctionCall(MacroAssembler* masm); | 211 static void Generate_FunctionCall(MacroAssembler* masm); |
214 static void Generate_FunctionApply(MacroAssembler* masm); | 212 static void Generate_FunctionApply(MacroAssembler* masm); |
215 }; | 213 }; |
216 | 214 |
217 } } // namespace v8::internal | 215 } } // namespace v8::internal |
218 | 216 |
219 #endif // V8_BUILTINS_H_ | 217 #endif // V8_BUILTINS_H_ |
OLD | NEW |