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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 F(SetProperty, -1 /* 3 or 4 */, 1) \ | 225 F(SetProperty, -1 /* 3 or 4 */, 1) \ |
226 F(DefineOrRedefineDataProperty, 4, 1) \ | 226 F(DefineOrRedefineDataProperty, 4, 1) \ |
227 F(DefineOrRedefineAccessorProperty, 5, 1) \ | 227 F(DefineOrRedefineAccessorProperty, 5, 1) \ |
228 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \ | 228 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \ |
229 \ | 229 \ |
230 /* Arrays */ \ | 230 /* Arrays */ \ |
231 F(RemoveArrayHoles, 2, 1) \ | 231 F(RemoveArrayHoles, 2, 1) \ |
232 F(GetArrayKeys, 2, 1) \ | 232 F(GetArrayKeys, 2, 1) \ |
233 F(MoveArrayContents, 2, 1) \ | 233 F(MoveArrayContents, 2, 1) \ |
234 F(EstimateNumberOfElements, 1, 1) \ | 234 F(EstimateNumberOfElements, 1, 1) \ |
| 235 F(SwapElements, 3, 1) \ |
235 \ | 236 \ |
236 /* Getters and Setters */ \ | 237 /* Getters and Setters */ \ |
237 F(DefineAccessor, -1 /* 4 or 5 */, 1) \ | 238 F(DefineAccessor, -1 /* 4 or 5 */, 1) \ |
238 F(LookupAccessor, 3, 1) \ | 239 F(LookupAccessor, 3, 1) \ |
239 \ | 240 \ |
240 /* Literals */ \ | 241 /* Literals */ \ |
241 F(MaterializeRegExpLiteral, 4, 1)\ | 242 F(MaterializeRegExpLiteral, 4, 1)\ |
242 F(CreateArrayLiteralBoilerplate, 3, 1) \ | 243 F(CreateArrayLiteralBoilerplate, 3, 1) \ |
243 F(CloneLiteralBoilerplate, 1, 1) \ | 244 F(CloneLiteralBoilerplate, 1, 1) \ |
244 F(CloneShallowLiteralBoilerplate, 1, 1) \ | 245 F(CloneShallowLiteralBoilerplate, 1, 1) \ |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 int position); | 444 int position); |
444 | 445 |
445 // Helper functions used stubs. | 446 // Helper functions used stubs. |
446 static void PerformGC(Object* result); | 447 static void PerformGC(Object* result); |
447 }; | 448 }; |
448 | 449 |
449 | 450 |
450 } } // namespace v8::internal | 451 } } // namespace v8::internal |
451 | 452 |
452 #endif // V8_RUNTIME_H_ | 453 #endif // V8_RUNTIME_H_ |
OLD | NEW |