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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 F(CreateObjectLiteral, 4, 1) \ | 276 F(CreateObjectLiteral, 4, 1) \ |
277 F(CreateObjectLiteralShallow, 4, 1) \ | 277 F(CreateObjectLiteralShallow, 4, 1) \ |
278 F(CreateArrayLiteral, 3, 1) \ | 278 F(CreateArrayLiteral, 3, 1) \ |
279 F(CreateArrayLiteralShallow, 3, 1) \ | 279 F(CreateArrayLiteralShallow, 3, 1) \ |
280 \ | 280 \ |
281 /* Harmony proxies */ \ | 281 /* Harmony proxies */ \ |
282 F(CreateJSProxy, 2, 1) \ | 282 F(CreateJSProxy, 2, 1) \ |
283 F(IsJSProxy, 1, 1) \ | 283 F(IsJSProxy, 1, 1) \ |
284 F(GetHandler, 1, 1) \ | 284 F(GetHandler, 1, 1) \ |
285 \ | 285 \ |
286 /* Catch context extension objects */ \ | |
287 F(CreateCatchExtensionObject, 2, 1) \ | |
288 \ | |
289 /* Statements */ \ | 286 /* Statements */ \ |
290 F(NewClosure, 3, 1) \ | 287 F(NewClosure, 3, 1) \ |
291 F(NewObject, 1, 1) \ | 288 F(NewObject, 1, 1) \ |
292 F(NewObjectFromBound, 2, 1) \ | 289 F(NewObjectFromBound, 2, 1) \ |
293 F(FinalizeInstanceSize, 1, 1) \ | 290 F(FinalizeInstanceSize, 1, 1) \ |
294 F(Throw, 1, 1) \ | 291 F(Throw, 1, 1) \ |
295 F(ReThrow, 1, 1) \ | 292 F(ReThrow, 1, 1) \ |
296 F(ThrowReferenceError, 1, 1) \ | 293 F(ThrowReferenceError, 1, 1) \ |
297 F(StackGuard, 0, 1) \ | 294 F(StackGuard, 0, 1) \ |
298 F(PromoteScheduledException, 0, 1) \ | 295 F(PromoteScheduledException, 0, 1) \ |
299 \ | 296 \ |
300 /* Contexts */ \ | 297 /* Contexts */ \ |
301 F(NewFunctionContext, 1, 1) \ | 298 F(NewFunctionContext, 1, 1) \ |
302 F(PushWithContext, 1, 1) \ | 299 F(PushWithContext, 1, 1) \ |
303 F(PushCatchContext, 1, 1) \ | 300 F(PushCatchContext, 2, 1) \ |
304 F(DeleteContextSlot, 2, 1) \ | 301 F(DeleteContextSlot, 2, 1) \ |
305 F(LoadContextSlot, 2, 2) \ | 302 F(LoadContextSlot, 2, 2) \ |
306 F(LoadContextSlotNoReferenceError, 2, 2) \ | 303 F(LoadContextSlotNoReferenceError, 2, 2) \ |
307 F(StoreContextSlot, 4, 1) \ | 304 F(StoreContextSlot, 4, 1) \ |
308 \ | 305 \ |
309 /* Declarations and initialization */ \ | 306 /* Declarations and initialization */ \ |
310 F(DeclareGlobals, 4, 1) \ | 307 F(DeclareGlobals, 4, 1) \ |
311 F(DeclareContextSlot, 4, 1) \ | 308 F(DeclareContextSlot, 4, 1) \ |
312 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ | 309 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ |
313 F(InitializeConstGlobal, 2, 1) \ | 310 F(InitializeConstGlobal, 2, 1) \ |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 Handle<Script> script, | 644 Handle<Script> script, |
648 int position); | 645 int position); |
649 | 646 |
650 // Helper functions used stubs. | 647 // Helper functions used stubs. |
651 static void PerformGC(Object* result); | 648 static void PerformGC(Object* result); |
652 }; | 649 }; |
653 | 650 |
654 } } // namespace v8::internal | 651 } } // namespace v8::internal |
655 | 652 |
656 #endif // V8_RUNTIME_H_ | 653 #endif // V8_RUNTIME_H_ |
OLD | NEW |