| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 F(GetIndexedInterceptorElementNames, 1, 1) \ | 61 F(GetIndexedInterceptorElementNames, 1, 1) \ |
| 62 F(GetArgumentsProperty, 1, 1) \ | 62 F(GetArgumentsProperty, 1, 1) \ |
| 63 F(ToFastProperties, 1, 1) \ | 63 F(ToFastProperties, 1, 1) \ |
| 64 F(ToSlowProperties, 1, 1) \ | 64 F(ToSlowProperties, 1, 1) \ |
| 65 F(FinishArrayPrototypeSetup, 1, 1) \ | 65 F(FinishArrayPrototypeSetup, 1, 1) \ |
| 66 F(SpecialArrayFunctions, 1, 1) \ | 66 F(SpecialArrayFunctions, 1, 1) \ |
| 67 F(GetGlobalReceiver, 0, 1) \ | 67 F(GetGlobalReceiver, 0, 1) \ |
| 68 \ | 68 \ |
| 69 F(IsInPrototypeChain, 2, 1) \ | 69 F(IsInPrototypeChain, 2, 1) \ |
| 70 F(SetHiddenPrototype, 2, 1) \ | 70 F(SetHiddenPrototype, 2, 1) \ |
| 71 F(SetMathFunctionId, 2, 1) \ |
| 71 \ | 72 \ |
| 72 F(IsConstructCall, 0, 1) \ | 73 F(IsConstructCall, 0, 1) \ |
| 73 \ | 74 \ |
| 74 F(GetOwnProperty, 2, 1) \ | 75 F(GetOwnProperty, 2, 1) \ |
| 75 \ | 76 \ |
| 76 F(IsExtensible, 1, 1) \ | 77 F(IsExtensible, 1, 1) \ |
| 77 F(PreventExtensions, 1, 1)\ | 78 F(PreventExtensions, 1, 1)\ |
| 78 \ | 79 \ |
| 79 /* Utilities */ \ | 80 /* Utilities */ \ |
| 80 F(GetFunctionDelegate, 1, 1) \ | 81 F(GetFunctionDelegate, 1, 1) \ |
| 81 F(GetConstructorDelegate, 1, 1) \ | 82 F(GetConstructorDelegate, 1, 1) \ |
| 82 F(NewArgumentsFast, 3, 1) \ | 83 F(NewArgumentsFast, 3, 1) \ |
| 83 F(LazyCompile, 1, 1) \ | 84 F(LazyCompile, 1, 1) \ |
| 85 F(LazyRecompile, 1, 1) \ |
| 86 F(NotifyDeoptimized, 1, 1) \ |
| 87 F(NotifyOSR, 0, 1) \ |
| 88 F(DeoptimizeFunction, 1, 1) \ |
| 89 F(CompileForOnStackReplacement, 1, 1) \ |
| 84 F(SetNewFunctionAttributes, 1, 1) \ | 90 F(SetNewFunctionAttributes, 1, 1) \ |
| 85 F(AllocateInNewSpace, 1, 1) \ | 91 F(AllocateInNewSpace, 1, 1) \ |
| 86 \ | 92 \ |
| 87 /* Array join support */ \ | 93 /* Array join support */ \ |
| 88 F(PushIfAbsent, 2, 1) \ | 94 F(PushIfAbsent, 2, 1) \ |
| 89 F(ArrayConcat, 1, 1) \ | 95 F(ArrayConcat, 1, 1) \ |
| 90 \ | 96 \ |
| 91 /* Conversions */ \ | 97 /* Conversions */ \ |
| 92 F(ToBool, 1, 1) \ | 98 F(ToBool, 1, 1) \ |
| 93 F(Typeof, 1, 1) \ | 99 F(Typeof, 1, 1) \ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 104 F(URIUnescape, 1, 1) \ | 110 F(URIUnescape, 1, 1) \ |
| 105 F(QuoteJSONString, 1, 1) \ | 111 F(QuoteJSONString, 1, 1) \ |
| 106 \ | 112 \ |
| 107 F(NumberToString, 1, 1) \ | 113 F(NumberToString, 1, 1) \ |
| 108 F(NumberToStringSkipCache, 1, 1) \ | 114 F(NumberToStringSkipCache, 1, 1) \ |
| 109 F(NumberToInteger, 1, 1) \ | 115 F(NumberToInteger, 1, 1) \ |
| 110 F(NumberToIntegerMapMinusZero, 1, 1) \ | 116 F(NumberToIntegerMapMinusZero, 1, 1) \ |
| 111 F(NumberToJSUint32, 1, 1) \ | 117 F(NumberToJSUint32, 1, 1) \ |
| 112 F(NumberToJSInt32, 1, 1) \ | 118 F(NumberToJSInt32, 1, 1) \ |
| 113 F(NumberToSmi, 1, 1) \ | 119 F(NumberToSmi, 1, 1) \ |
| 120 F(AllocateHeapNumber, 0, 1) \ |
| 114 \ | 121 \ |
| 115 /* Arithmetic operations */ \ | 122 /* Arithmetic operations */ \ |
| 116 F(NumberAdd, 2, 1) \ | 123 F(NumberAdd, 2, 1) \ |
| 117 F(NumberSub, 2, 1) \ | 124 F(NumberSub, 2, 1) \ |
| 118 F(NumberMul, 2, 1) \ | 125 F(NumberMul, 2, 1) \ |
| 119 F(NumberDiv, 2, 1) \ | 126 F(NumberDiv, 2, 1) \ |
| 120 F(NumberMod, 2, 1) \ | 127 F(NumberMod, 2, 1) \ |
| 121 F(NumberUnaryMinus, 1, 1) \ | 128 F(NumberUnaryMinus, 1, 1) \ |
| 122 F(NumberAlloc, 0, 1) \ | 129 F(NumberAlloc, 0, 1) \ |
| 123 \ | 130 \ |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 F(DebugConstructedBy, 2, 1) \ | 352 F(DebugConstructedBy, 2, 1) \ |
| 346 F(DebugGetPrototype, 1, 1) \ | 353 F(DebugGetPrototype, 1, 1) \ |
| 347 F(SystemBreak, 0, 1) \ | 354 F(SystemBreak, 0, 1) \ |
| 348 F(DebugDisassembleFunction, 1, 1) \ | 355 F(DebugDisassembleFunction, 1, 1) \ |
| 349 F(DebugDisassembleConstructor, 1, 1) \ | 356 F(DebugDisassembleConstructor, 1, 1) \ |
| 350 F(FunctionGetInferredName, 1, 1) \ | 357 F(FunctionGetInferredName, 1, 1) \ |
| 351 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ | 358 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ |
| 352 F(LiveEditGatherCompileInfo, 2, 1) \ | 359 F(LiveEditGatherCompileInfo, 2, 1) \ |
| 353 F(LiveEditReplaceScript, 3, 1) \ | 360 F(LiveEditReplaceScript, 3, 1) \ |
| 354 F(LiveEditReplaceFunctionCode, 2, 1) \ | 361 F(LiveEditReplaceFunctionCode, 2, 1) \ |
| 362 F(LiveEditFunctionSourceUpdated, 1, 1) \ |
| 355 F(LiveEditFunctionSetScript, 2, 1) \ | 363 F(LiveEditFunctionSetScript, 2, 1) \ |
| 356 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 364 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
| 357 F(LiveEditPatchFunctionPositions, 2, 1) \ | 365 F(LiveEditPatchFunctionPositions, 2, 1) \ |
| 358 F(LiveEditCheckAndDropActivations, 2, 1) \ | 366 F(LiveEditCheckAndDropActivations, 2, 1) \ |
| 359 F(LiveEditCompareStringsLinewise, 2, 1) \ | 367 F(LiveEditCompareStringsLinewise, 2, 1) \ |
| 360 F(GetFunctionCodePositionFromSource, 2, 1) \ | 368 F(GetFunctionCodePositionFromSource, 2, 1) \ |
| 361 F(ExecuteInDebugContext, 2, 1) | 369 F(ExecuteInDebugContext, 2, 1) |
| 362 #else | 370 #else |
| 363 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) | 371 #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) |
| 364 #endif | 372 #endif |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 Handle<Script> script, | 606 Handle<Script> script, |
| 599 int position); | 607 int position); |
| 600 | 608 |
| 601 // Helper functions used stubs. | 609 // Helper functions used stubs. |
| 602 static void PerformGC(Object* result); | 610 static void PerformGC(Object* result); |
| 603 }; | 611 }; |
| 604 | 612 |
| 605 } } // namespace v8::internal | 613 } } // namespace v8::internal |
| 606 | 614 |
| 607 #endif // V8_RUNTIME_H_ | 615 #endif // V8_RUNTIME_H_ |
| OLD | NEW |