OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 F(MoveArrayContents, 2, 1) \ | 271 F(MoveArrayContents, 2, 1) \ |
272 F(EstimateNumberOfElements, 1, 1) \ | 272 F(EstimateNumberOfElements, 1, 1) \ |
273 F(SwapElements, 3, 1) \ | 273 F(SwapElements, 3, 1) \ |
274 \ | 274 \ |
275 /* Getters and Setters */ \ | 275 /* Getters and Setters */ \ |
276 F(DefineAccessor, -1 /* 4 or 5 */, 1) \ | 276 F(DefineAccessor, -1 /* 4 or 5 */, 1) \ |
277 F(LookupAccessor, 3, 1) \ | 277 F(LookupAccessor, 3, 1) \ |
278 \ | 278 \ |
279 /* Literals */ \ | 279 /* Literals */ \ |
280 F(MaterializeRegExpLiteral, 4, 1)\ | 280 F(MaterializeRegExpLiteral, 4, 1)\ |
281 F(CreateArrayLiteralBoilerplate, 4, 1) \ | |
282 F(CloneLiteralBoilerplate, 1, 1) \ | |
283 F(CloneShallowLiteralBoilerplate, 1, 1) \ | |
284 F(CreateObjectLiteral, 4, 1) \ | 281 F(CreateObjectLiteral, 4, 1) \ |
285 F(CreateObjectLiteralShallow, 4, 1) \ | 282 F(CreateObjectLiteralShallow, 4, 1) \ |
286 F(CreateArrayLiteral, 3, 1) \ | 283 F(CreateArrayLiteral, 3, 1) \ |
287 F(CreateArrayLiteralShallow, 3, 1) \ | 284 F(CreateArrayLiteralShallow, 3, 1) \ |
288 \ | 285 \ |
289 /* Harmony proxies */ \ | 286 /* Harmony proxies */ \ |
290 F(CreateJSProxy, 2, 1) \ | 287 F(CreateJSProxy, 2, 1) \ |
291 F(CreateJSFunctionProxy, 4, 1) \ | 288 F(CreateJSFunctionProxy, 4, 1) \ |
292 F(IsJSProxy, 1, 1) \ | 289 F(IsJSProxy, 1, 1) \ |
293 F(IsJSFunctionProxy, 1, 1) \ | 290 F(IsJSFunctionProxy, 1, 1) \ |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 //--------------------------------------------------------------------------- | 684 //--------------------------------------------------------------------------- |
688 // Constants used by interface to runtime functions. | 685 // Constants used by interface to runtime functions. |
689 | 686 |
690 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 687 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
691 class DeclareGlobalsStrictModeFlag: public BitField<StrictModeFlag, 1, 1> {}; | 688 class DeclareGlobalsStrictModeFlag: public BitField<StrictModeFlag, 1, 1> {}; |
692 class DeclareGlobalsNativeFlag: public BitField<bool, 2, 1> {}; | 689 class DeclareGlobalsNativeFlag: public BitField<bool, 2, 1> {}; |
693 | 690 |
694 } } // namespace v8::internal | 691 } } // namespace v8::internal |
695 | 692 |
696 #endif // V8_RUNTIME_H_ | 693 #endif // V8_RUNTIME_H_ |
OLD | NEW |