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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 F(StringToLowerCase, 1, 1) \ | 122 F(StringToLowerCase, 1, 1) \ |
123 F(StringToUpperCase, 1, 1) \ | 123 F(StringToUpperCase, 1, 1) \ |
124 F(StringSplit, 3, 1) \ | 124 F(StringSplit, 3, 1) \ |
125 F(CharFromCode, 1, 1) \ | 125 F(CharFromCode, 1, 1) \ |
126 F(URIEscape, 1, 1) \ | 126 F(URIEscape, 1, 1) \ |
127 F(URIUnescape, 1, 1) \ | 127 F(URIUnescape, 1, 1) \ |
128 \ | 128 \ |
129 F(NumberToString, 1, 1) \ | 129 F(NumberToString, 1, 1) \ |
130 F(NumberToStringSkipCache, 1, 1) \ | 130 F(NumberToStringSkipCache, 1, 1) \ |
131 F(NumberToInteger, 1, 1) \ | 131 F(NumberToInteger, 1, 1) \ |
132 F(NumberToPositiveInteger, 1, 1) \ | |
132 F(NumberToIntegerMapMinusZero, 1, 1) \ | 133 F(NumberToIntegerMapMinusZero, 1, 1) \ |
133 F(NumberToJSUint32, 1, 1) \ | 134 F(NumberToJSUint32, 1, 1) \ |
134 F(NumberToJSInt32, 1, 1) \ | 135 F(NumberToJSInt32, 1, 1) \ |
135 F(NumberToSmi, 1, 1) \ | 136 F(NumberToSmi, 1, 1) \ |
136 F(AllocateHeapNumber, 0, 1) \ | 137 F(AllocateHeapNumber, 0, 1) \ |
137 \ | 138 \ |
138 /* Arithmetic operations */ \ | 139 /* Arithmetic operations */ \ |
139 F(NumberAdd, 2, 1) \ | 140 F(NumberAdd, 2, 1) \ |
140 F(NumberSub, 2, 1) \ | 141 F(NumberSub, 2, 1) \ |
141 F(NumberMul, 2, 1) \ | 142 F(NumberMul, 2, 1) \ |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
333 F(WeakMapSet, 3, 1) \ | 334 F(WeakMapSet, 3, 1) \ |
334 \ | 335 \ |
335 /* Harmony observe */ \ | 336 /* Harmony observe */ \ |
336 F(IsObserved, 1, 1) \ | 337 F(IsObserved, 1, 1) \ |
337 F(SetIsObserved, 2, 1) \ | 338 F(SetIsObserved, 2, 1) \ |
338 F(SetObserverDeliveryPending, 0, 1) \ | 339 F(SetObserverDeliveryPending, 0, 1) \ |
339 F(GetObservationState, 0, 1) \ | 340 F(GetObservationState, 0, 1) \ |
340 F(ObservationWeakMapCreate, 0, 1) \ | 341 F(ObservationWeakMapCreate, 0, 1) \ |
341 F(UnwrapGlobalProxy, 1, 1) \ | 342 F(UnwrapGlobalProxy, 1, 1) \ |
342 \ | 343 \ |
344 /* Harmony typed arrays */ \ | |
345 F(ArrayBufferInitialize, 2, 1)\ | |
346 F(ArrayBufferGetByteLength, 1, 1)\ | |
347 F(ArrayBufferSliceImpl, 3, 1) \ | |
rossberg
2013/03/27 17:33:14
Nit: empty line after the section.
Dmitry Lomov (no reviews)
2013/03/27 18:45:00
Done.
| |
343 /* Statements */ \ | 348 /* Statements */ \ |
344 F(NewClosure, 3, 1) \ | 349 F(NewClosure, 3, 1) \ |
345 F(NewObject, 1, 1) \ | 350 F(NewObject, 1, 1) \ |
346 F(NewObjectFromBound, 1, 1) \ | 351 F(NewObjectFromBound, 1, 1) \ |
347 F(FinalizeInstanceSize, 1, 1) \ | 352 F(FinalizeInstanceSize, 1, 1) \ |
348 F(Throw, 1, 1) \ | 353 F(Throw, 1, 1) \ |
349 F(ReThrow, 1, 1) \ | 354 F(ReThrow, 1, 1) \ |
350 F(ThrowReferenceError, 1, 1) \ | 355 F(ThrowReferenceError, 1, 1) \ |
351 F(ThrowNotDateError, 0, 1) \ | 356 F(ThrowNotDateError, 0, 1) \ |
352 F(StackGuard, 0, 1) \ | 357 F(StackGuard, 0, 1) \ |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
716 //--------------------------------------------------------------------------- | 721 //--------------------------------------------------------------------------- |
717 // Constants used by interface to runtime functions. | 722 // Constants used by interface to runtime functions. |
718 | 723 |
719 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 724 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
720 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 725 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
721 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 726 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
722 | 727 |
723 } } // namespace v8::internal | 728 } } // namespace v8::internal |
724 | 729 |
725 #endif // V8_RUNTIME_H_ | 730 #endif // V8_RUNTIME_H_ |
OLD | NEW |