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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 F(NumberToJSInt32, 1, 1) \ | 108 F(NumberToJSInt32, 1, 1) \ |
109 F(NumberToSmi, 1, 1) \ | 109 F(NumberToSmi, 1, 1) \ |
110 \ | 110 \ |
111 /* Arithmetic operations */ \ | 111 /* Arithmetic operations */ \ |
112 F(NumberAdd, 2, 1) \ | 112 F(NumberAdd, 2, 1) \ |
113 F(NumberSub, 2, 1) \ | 113 F(NumberSub, 2, 1) \ |
114 F(NumberMul, 2, 1) \ | 114 F(NumberMul, 2, 1) \ |
115 F(NumberDiv, 2, 1) \ | 115 F(NumberDiv, 2, 1) \ |
116 F(NumberMod, 2, 1) \ | 116 F(NumberMod, 2, 1) \ |
117 F(NumberUnaryMinus, 1, 1) \ | 117 F(NumberUnaryMinus, 1, 1) \ |
| 118 F(NumberAlloc, 0, 1) \ |
118 \ | 119 \ |
119 F(StringAdd, 2, 1) \ | 120 F(StringAdd, 2, 1) \ |
120 F(StringBuilderConcat, 3, 1) \ | 121 F(StringBuilderConcat, 3, 1) \ |
121 \ | 122 \ |
122 /* Bit operations */ \ | 123 /* Bit operations */ \ |
123 F(NumberOr, 2, 1) \ | 124 F(NumberOr, 2, 1) \ |
124 F(NumberAnd, 2, 1) \ | 125 F(NumberAnd, 2, 1) \ |
125 F(NumberXor, 2, 1) \ | 126 F(NumberXor, 2, 1) \ |
126 F(NumberNot, 1, 1) \ | 127 F(NumberNot, 1, 1) \ |
127 \ | 128 \ |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 int position); | 449 int position); |
449 | 450 |
450 // Helper functions used stubs. | 451 // Helper functions used stubs. |
451 static void PerformGC(Object* result); | 452 static void PerformGC(Object* result); |
452 }; | 453 }; |
453 | 454 |
454 | 455 |
455 } } // namespace v8::internal | 456 } } // namespace v8::internal |
456 | 457 |
457 #endif // V8_RUNTIME_H_ | 458 #endif // V8_RUNTIME_H_ |
OLD | NEW |