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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 F(SetHiddenPrototype, 2, 1) \ | 72 F(SetHiddenPrototype, 2, 1) \ |
73 \ | 73 \ |
74 F(IsConstructCall, 0, 1) \ | 74 F(IsConstructCall, 0, 1) \ |
75 \ | 75 \ |
76 F(GetOwnProperty, 2, 1) \ | 76 F(GetOwnProperty, 2, 1) \ |
77 \ | 77 \ |
78 F(IsExtensible, 1, 1) \ | 78 F(IsExtensible, 1, 1) \ |
79 F(PreventExtensions, 1, 1)\ | 79 F(PreventExtensions, 1, 1)\ |
80 \ | 80 \ |
81 /* Utilities */ \ | 81 /* Utilities */ \ |
| 82 F(Apply, 5, 1) \ |
82 F(GetFunctionDelegate, 1, 1) \ | 83 F(GetFunctionDelegate, 1, 1) \ |
83 F(GetConstructorDelegate, 1, 1) \ | 84 F(GetConstructorDelegate, 1, 1) \ |
84 F(NewArgumentsFast, 3, 1) \ | 85 F(NewArgumentsFast, 3, 1) \ |
85 F(NewStrictArgumentsFast, 3, 1) \ | 86 F(NewStrictArgumentsFast, 3, 1) \ |
86 F(LazyCompile, 1, 1) \ | 87 F(LazyCompile, 1, 1) \ |
87 F(LazyRecompile, 1, 1) \ | 88 F(LazyRecompile, 1, 1) \ |
88 F(NotifyDeoptimized, 1, 1) \ | 89 F(NotifyDeoptimized, 1, 1) \ |
89 F(NotifyOSR, 0, 1) \ | 90 F(NotifyOSR, 0, 1) \ |
90 F(DeoptimizeFunction, 1, 1) \ | 91 F(DeoptimizeFunction, 1, 1) \ |
91 F(RunningInSimulator, 0, 1) \ | 92 F(RunningInSimulator, 0, 1) \ |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 F(CreateArrayLiteralBoilerplate, 3, 1) \ | 280 F(CreateArrayLiteralBoilerplate, 3, 1) \ |
280 F(CloneLiteralBoilerplate, 1, 1) \ | 281 F(CloneLiteralBoilerplate, 1, 1) \ |
281 F(CloneShallowLiteralBoilerplate, 1, 1) \ | 282 F(CloneShallowLiteralBoilerplate, 1, 1) \ |
282 F(CreateObjectLiteral, 4, 1) \ | 283 F(CreateObjectLiteral, 4, 1) \ |
283 F(CreateObjectLiteralShallow, 4, 1) \ | 284 F(CreateObjectLiteralShallow, 4, 1) \ |
284 F(CreateArrayLiteral, 3, 1) \ | 285 F(CreateArrayLiteral, 3, 1) \ |
285 F(CreateArrayLiteralShallow, 3, 1) \ | 286 F(CreateArrayLiteralShallow, 3, 1) \ |
286 \ | 287 \ |
287 /* Harmony proxies */ \ | 288 /* Harmony proxies */ \ |
288 F(CreateJSProxy, 2, 1) \ | 289 F(CreateJSProxy, 2, 1) \ |
| 290 F(CreateJSFunctionProxy, 4, 1) \ |
289 F(IsJSProxy, 1, 1) \ | 291 F(IsJSProxy, 1, 1) \ |
| 292 F(IsJSFunctionProxy, 1, 1) \ |
290 F(GetHandler, 1, 1) \ | 293 F(GetHandler, 1, 1) \ |
| 294 F(GetCallTrap, 1, 1) \ |
| 295 F(GetConstructTrap, 1, 1) \ |
291 F(Fix, 1, 1) \ | 296 F(Fix, 1, 1) \ |
292 \ | 297 \ |
293 /* Harmony weakmaps */ \ | 298 /* Harmony weakmaps */ \ |
294 F(WeakMapInitialize, 1, 1) \ | 299 F(WeakMapInitialize, 1, 1) \ |
295 F(WeakMapGet, 2, 1) \ | 300 F(WeakMapGet, 2, 1) \ |
296 F(WeakMapSet, 3, 1) \ | 301 F(WeakMapSet, 3, 1) \ |
297 \ | 302 \ |
298 /* Statements */ \ | 303 /* Statements */ \ |
299 F(NewClosure, 3, 1) \ | 304 F(NewClosure, 3, 1) \ |
300 F(NewObject, 1, 1) \ | 305 F(NewObject, 1, 1) \ |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 Handle<Script> script, | 664 Handle<Script> script, |
660 int position); | 665 int position); |
661 | 666 |
662 // Helper functions used stubs. | 667 // Helper functions used stubs. |
663 static void PerformGC(Object* result); | 668 static void PerformGC(Object* result); |
664 }; | 669 }; |
665 | 670 |
666 } } // namespace v8::internal | 671 } } // namespace v8::internal |
667 | 672 |
668 #endif // V8_RUNTIME_H_ | 673 #endif // V8_RUNTIME_H_ |
OLD | NEW |