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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \ | 267 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \ |
268 \ | 268 \ |
269 /* Arrays */ \ | 269 /* Arrays */ \ |
270 F(RemoveArrayHoles, 2, 1) \ | 270 F(RemoveArrayHoles, 2, 1) \ |
271 F(GetArrayKeys, 2, 1) \ | 271 F(GetArrayKeys, 2, 1) \ |
272 F(MoveArrayContents, 2, 1) \ | 272 F(MoveArrayContents, 2, 1) \ |
273 F(EstimateNumberOfElements, 1, 1) \ | 273 F(EstimateNumberOfElements, 1, 1) \ |
274 F(SwapElements, 3, 1) \ | 274 F(SwapElements, 3, 1) \ |
275 \ | 275 \ |
276 /* Getters and Setters */ \ | 276 /* Getters and Setters */ \ |
277 F(DefineAccessor, -1 /* 4 or 5 */, 1) \ | |
278 F(LookupAccessor, 3, 1) \ | 277 F(LookupAccessor, 3, 1) \ |
279 \ | 278 \ |
280 /* Literals */ \ | 279 /* Literals */ \ |
281 F(MaterializeRegExpLiteral, 4, 1)\ | 280 F(MaterializeRegExpLiteral, 4, 1)\ |
282 F(CreateObjectLiteral, 4, 1) \ | 281 F(CreateObjectLiteral, 4, 1) \ |
283 F(CreateObjectLiteralShallow, 4, 1) \ | 282 F(CreateObjectLiteralShallow, 4, 1) \ |
284 F(CreateArrayLiteral, 3, 1) \ | 283 F(CreateArrayLiteral, 3, 1) \ |
285 F(CreateArrayLiteralShallow, 3, 1) \ | 284 F(CreateArrayLiteralShallow, 3, 1) \ |
286 \ | 285 \ |
287 /* Harmony proxies */ \ | 286 /* Harmony proxies */ \ |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 //--------------------------------------------------------------------------- | 698 //--------------------------------------------------------------------------- |
700 // Constants used by interface to runtime functions. | 699 // Constants used by interface to runtime functions. |
701 | 700 |
702 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 701 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
703 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 702 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
704 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 703 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
705 | 704 |
706 } } // namespace v8::internal | 705 } } // namespace v8::internal |
707 | 706 |
708 #endif // V8_RUNTIME_H_ | 707 #endif // V8_RUNTIME_H_ |
OLD | NEW |