| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 F(NewStringWrapper, 1, 1) \ | 212 F(NewStringWrapper, 1, 1) \ |
| 213 F(NewString, 2, 1) \ | 213 F(NewString, 2, 1) \ |
| 214 F(TruncateString, 2, 1) \ | 214 F(TruncateString, 2, 1) \ |
| 215 \ | 215 \ |
| 216 /* Numbers */ \ | 216 /* Numbers */ \ |
| 217 F(NumberToRadixString, 2, 1) \ | 217 F(NumberToRadixString, 2, 1) \ |
| 218 F(NumberToFixed, 2, 1) \ | 218 F(NumberToFixed, 2, 1) \ |
| 219 F(NumberToExponential, 2, 1) \ | 219 F(NumberToExponential, 2, 1) \ |
| 220 F(NumberToPrecision, 2, 1) | 220 F(NumberToPrecision, 2, 1) |
| 221 | 221 |
| 222 |
| 222 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ | 223 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ |
| 223 /* Reflection */ \ | 224 /* Reflection */ \ |
| 224 F(FunctionSetInstanceClassName, 2, 1) \ | 225 F(FunctionSetInstanceClassName, 2, 1) \ |
| 225 F(FunctionSetLength, 2, 1) \ | 226 F(FunctionSetLength, 2, 1) \ |
| 226 F(FunctionSetPrototype, 2, 1) \ | 227 F(FunctionSetPrototype, 2, 1) \ |
| 227 F(FunctionSetReadOnlyPrototype, 1, 1) \ | 228 F(FunctionSetReadOnlyPrototype, 1, 1) \ |
| 228 F(FunctionGetName, 1, 1) \ | 229 F(FunctionGetName, 1, 1) \ |
| 229 F(FunctionSetName, 2, 1) \ | 230 F(FunctionSetName, 2, 1) \ |
| 230 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ | 231 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ |
| 231 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ | 232 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 F(SetObserverDeliveryPending, 0, 1) \ | 341 F(SetObserverDeliveryPending, 0, 1) \ |
| 341 F(GetObservationState, 0, 1) \ | 342 F(GetObservationState, 0, 1) \ |
| 342 F(ObservationWeakMapCreate, 0, 1) \ | 343 F(ObservationWeakMapCreate, 0, 1) \ |
| 343 F(UnwrapGlobalProxy, 1, 1) \ | 344 F(UnwrapGlobalProxy, 1, 1) \ |
| 344 \ | 345 \ |
| 345 /* Harmony typed arrays */ \ | 346 /* Harmony typed arrays */ \ |
| 346 F(ArrayBufferInitialize, 2, 1)\ | 347 F(ArrayBufferInitialize, 2, 1)\ |
| 347 F(ArrayBufferGetByteLength, 1, 1)\ | 348 F(ArrayBufferGetByteLength, 1, 1)\ |
| 348 F(ArrayBufferSliceImpl, 3, 1) \ | 349 F(ArrayBufferSliceImpl, 3, 1) \ |
| 349 \ | 350 \ |
| 351 F(TypedArrayInitialize, 5, 1) \ |
| 352 F(TypedArrayGetBuffer, 1, 1) \ |
| 353 F(TypedArrayGetByteLength, 1, 1) \ |
| 354 F(TypedArrayGetByteOffset, 1, 1) \ |
| 355 F(TypedArrayGetLength, 1, 1) \ |
| 356 \ |
| 350 /* Statements */ \ | 357 /* Statements */ \ |
| 351 F(NewClosure, 3, 1) \ | 358 F(NewClosure, 3, 1) \ |
| 352 F(NewObject, 1, 1) \ | 359 F(NewObject, 1, 1) \ |
| 353 F(NewObjectFromBound, 1, 1) \ | 360 F(NewObjectFromBound, 1, 1) \ |
| 354 F(FinalizeInstanceSize, 1, 1) \ | 361 F(FinalizeInstanceSize, 1, 1) \ |
| 355 F(Throw, 1, 1) \ | 362 F(Throw, 1, 1) \ |
| 356 F(ReThrow, 1, 1) \ | 363 F(ReThrow, 1, 1) \ |
| 357 F(ThrowReferenceError, 1, 1) \ | 364 F(ThrowReferenceError, 1, 1) \ |
| 358 F(ThrowNotDateError, 0, 1) \ | 365 F(ThrowNotDateError, 0, 1) \ |
| 359 F(StackGuard, 0, 1) \ | 366 F(StackGuard, 0, 1) \ |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 //--------------------------------------------------------------------------- | 736 //--------------------------------------------------------------------------- |
| 730 // Constants used by interface to runtime functions. | 737 // Constants used by interface to runtime functions. |
| 731 | 738 |
| 732 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 739 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 733 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 740 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 734 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 741 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 735 | 742 |
| 736 } } // namespace v8::internal | 743 } } // namespace v8::internal |
| 737 | 744 |
| 738 #endif // V8_RUNTIME_H_ | 745 #endif // V8_RUNTIME_H_ |
| OLD | NEW |