| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(GetFunctionDelegate, 1, 1) \ | 82 F(GetFunctionDelegate, 1, 1) \ |
| 83 F(GetConstructorDelegate, 1, 1) \ | 83 F(GetConstructorDelegate, 1, 1) \ |
| 84 F(NewArgumentsFast, 3, 1) \ | 84 F(NewArgumentsFast, 3, 1) \ |
| 85 F(NewStrictArgumentsFast, 3, 1) \ |
| 85 F(LazyCompile, 1, 1) \ | 86 F(LazyCompile, 1, 1) \ |
| 86 F(LazyRecompile, 1, 1) \ | 87 F(LazyRecompile, 1, 1) \ |
| 87 F(NotifyDeoptimized, 1, 1) \ | 88 F(NotifyDeoptimized, 1, 1) \ |
| 88 F(NotifyOSR, 0, 1) \ | 89 F(NotifyOSR, 0, 1) \ |
| 89 F(DeoptimizeFunction, 1, 1) \ | 90 F(DeoptimizeFunction, 1, 1) \ |
| 90 F(RunningInSimulator, 0, 1) \ | 91 F(RunningInSimulator, 0, 1) \ |
| 91 F(OptimizeFunctionOnNextCall, 1, 1) \ | 92 F(OptimizeFunctionOnNextCall, 1, 1) \ |
| 92 F(GetOptimizationStatus, 1, 1) \ | 93 F(GetOptimizationStatus, 1, 1) \ |
| 93 F(GetOptimizationCount, 1, 1) \ | 94 F(GetOptimizationCount, 1, 1) \ |
| 94 F(CompileForOnStackReplacement, 1, 1) \ | 95 F(CompileForOnStackReplacement, 1, 1) \ |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 F(CreateObjectLiteral, 4, 1) \ | 278 F(CreateObjectLiteral, 4, 1) \ |
| 278 F(CreateObjectLiteralShallow, 4, 1) \ | 279 F(CreateObjectLiteralShallow, 4, 1) \ |
| 279 F(CreateArrayLiteral, 3, 1) \ | 280 F(CreateArrayLiteral, 3, 1) \ |
| 280 F(CreateArrayLiteralShallow, 3, 1) \ | 281 F(CreateArrayLiteralShallow, 3, 1) \ |
| 281 \ | 282 \ |
| 282 /* Harmony proxies */ \ | 283 /* Harmony proxies */ \ |
| 283 F(CreateJSProxy, 2, 1) \ | 284 F(CreateJSProxy, 2, 1) \ |
| 284 F(IsJSProxy, 1, 1) \ | 285 F(IsJSProxy, 1, 1) \ |
| 285 F(GetHandler, 1, 1) \ | 286 F(GetHandler, 1, 1) \ |
| 286 \ | 287 \ |
| 288 /* Catch context extension objects */ \ |
| 289 F(CreateCatchExtensionObject, 2, 1) \ |
| 290 \ |
| 287 /* Statements */ \ | 291 /* Statements */ \ |
| 288 F(NewClosure, 3, 1) \ | 292 F(NewClosure, 3, 1) \ |
| 289 F(NewObject, 1, 1) \ | 293 F(NewObject, 1, 1) \ |
| 290 F(NewObjectFromBound, 2, 1) \ | 294 F(NewObjectFromBound, 2, 1) \ |
| 291 F(FinalizeInstanceSize, 1, 1) \ | 295 F(FinalizeInstanceSize, 1, 1) \ |
| 292 F(Throw, 1, 1) \ | 296 F(Throw, 1, 1) \ |
| 293 F(ReThrow, 1, 1) \ | 297 F(ReThrow, 1, 1) \ |
| 294 F(ThrowReferenceError, 1, 1) \ | 298 F(ThrowReferenceError, 1, 1) \ |
| 295 F(StackGuard, 0, 1) \ | 299 F(StackGuard, 0, 1) \ |
| 296 F(PromoteScheduledException, 0, 1) \ | 300 F(PromoteScheduledException, 0, 1) \ |
| 297 \ | 301 \ |
| 298 /* Contexts */ \ | 302 /* Contexts */ \ |
| 299 F(NewFunctionContext, 1, 1) \ | 303 F(NewFunctionContext, 1, 1) \ |
| 300 F(PushWithContext, 1, 1) \ | 304 F(PushWithContext, 1, 1) \ |
| 301 F(PushCatchContext, 2, 1) \ | 305 F(PushCatchContext, 1, 1) \ |
| 302 F(DeleteContextSlot, 2, 1) \ | 306 F(DeleteContextSlot, 2, 1) \ |
| 303 F(LoadContextSlot, 2, 2) \ | 307 F(LoadContextSlot, 2, 2) \ |
| 304 F(LoadContextSlotNoReferenceError, 2, 2) \ | 308 F(LoadContextSlotNoReferenceError, 2, 2) \ |
| 305 F(StoreContextSlot, 4, 1) \ | 309 F(StoreContextSlot, 4, 1) \ |
| 306 \ | 310 \ |
| 307 /* Declarations and initialization */ \ | 311 /* Declarations and initialization */ \ |
| 308 F(DeclareGlobals, 4, 1) \ | 312 F(DeclareGlobals, 4, 1) \ |
| 309 F(DeclareContextSlot, 4, 1) \ | 313 F(DeclareContextSlot, 4, 1) \ |
| 310 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ | 314 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ |
| 311 F(InitializeConstGlobal, 2, 1) \ | 315 F(InitializeConstGlobal, 2, 1) \ |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 Handle<Script> script, | 649 Handle<Script> script, |
| 646 int position); | 650 int position); |
| 647 | 651 |
| 648 // Helper functions used stubs. | 652 // Helper functions used stubs. |
| 649 static void PerformGC(Object* result); | 653 static void PerformGC(Object* result); |
| 650 }; | 654 }; |
| 651 | 655 |
| 652 } } // namespace v8::internal | 656 } } // namespace v8::internal |
| 653 | 657 |
| 654 #endif // V8_RUNTIME_H_ | 658 #endif // V8_RUNTIME_H_ |
| OLD | NEW |