| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_RUNTIME_RUNTIME_H_ | 5 #ifndef V8_RUNTIME_RUNTIME_H_ |
| 6 #define V8_RUNTIME_RUNTIME_H_ | 6 #define V8_RUNTIME_RUNTIME_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
| 10 #include "src/objects.h" | 10 #include "src/objects.h" |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 F(CallSiteGetLineNumberRT, 1, 1) \ | 305 F(CallSiteGetLineNumberRT, 1, 1) \ |
| 306 F(CallSiteGetColumnNumberRT, 1, 1) \ | 306 F(CallSiteGetColumnNumberRT, 1, 1) \ |
| 307 F(CallSiteIsNativeRT, 1, 1) \ | 307 F(CallSiteIsNativeRT, 1, 1) \ |
| 308 F(CallSiteIsToplevelRT, 1, 1) \ | 308 F(CallSiteIsToplevelRT, 1, 1) \ |
| 309 F(CallSiteIsEvalRT, 1, 1) \ | 309 F(CallSiteIsEvalRT, 1, 1) \ |
| 310 F(CallSiteIsConstructorRT, 1, 1) \ | 310 F(CallSiteIsConstructorRT, 1, 1) \ |
| 311 F(IS_VAR, 1, 1) \ | 311 F(IS_VAR, 1, 1) \ |
| 312 F(ThrowConstructedNonConstructable, 1, 1) \ | 312 F(ThrowConstructedNonConstructable, 1, 1) \ |
| 313 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 313 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
| 314 F(ThrowCalledNonCallable, 1, 1) \ | 314 F(ThrowCalledNonCallable, 1, 1) \ |
| 315 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | |
| 316 F(CreateListFromArrayLike, 1, 1) \ | 315 F(CreateListFromArrayLike, 1, 1) \ |
| 317 F(IncrementUseCounter, 1, 1) \ | 316 F(IncrementUseCounter, 1, 1) \ |
| 318 F(GetOrdinaryHasInstance, 0, 1) \ | 317 F(GetOrdinaryHasInstance, 0, 1) \ |
| 319 F(GetAndResetRuntimeCallStats, 0, 1) | 318 F(GetAndResetRuntimeCallStats, 0, 1) |
| 320 | 319 |
| 321 #define FOR_EACH_INTRINSIC_JSON(F) \ | 320 #define FOR_EACH_INTRINSIC_JSON(F) \ |
| 322 F(QuoteJSONString, 1, 1) \ | 321 F(QuoteJSONString, 1, 1) \ |
| 323 F(BasicJSONStringify, 1, 1) \ | 322 F(BasicJSONStringify, 1, 1) \ |
| 324 F(ParseJson, 1, 1) | 323 F(ParseJson, 1, 1) |
| 325 | 324 |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 F(NewString, 2, 1) \ | 851 F(NewString, 2, 1) \ |
| 853 F(StringLessThan, 2, 1) \ | 852 F(StringLessThan, 2, 1) \ |
| 854 F(StringLessThanOrEqual, 2, 1) \ | 853 F(StringLessThanOrEqual, 2, 1) \ |
| 855 F(StringGreaterThan, 2, 1) \ | 854 F(StringGreaterThan, 2, 1) \ |
| 856 F(StringGreaterThanOrEqual, 2, 1) \ | 855 F(StringGreaterThanOrEqual, 2, 1) \ |
| 857 F(StringEqual, 2, 1) \ | 856 F(StringEqual, 2, 1) \ |
| 858 F(StringNotEqual, 2, 1) \ | 857 F(StringNotEqual, 2, 1) \ |
| 859 F(FlattenString, 1, 1) \ | 858 F(FlattenString, 1, 1) \ |
| 860 F(StringCharFromCode, 1, 1) \ | 859 F(StringCharFromCode, 1, 1) \ |
| 861 F(StringCharAt, 2, 1) \ | 860 F(StringCharAt, 2, 1) \ |
| 862 F(ExternalStringGetChar, 2, 1) \ | |
| 863 F(OneByteSeqStringGetChar, 2, 1) \ | 861 F(OneByteSeqStringGetChar, 2, 1) \ |
| 864 F(OneByteSeqStringSetChar, 3, 1) \ | 862 F(OneByteSeqStringSetChar, 3, 1) \ |
| 865 F(TwoByteSeqStringGetChar, 2, 1) \ | 863 F(TwoByteSeqStringGetChar, 2, 1) \ |
| 866 F(TwoByteSeqStringSetChar, 3, 1) \ | 864 F(TwoByteSeqStringSetChar, 3, 1) \ |
| 867 F(StringCharCodeAt, 2, 1) | 865 F(StringCharCodeAt, 2, 1) |
| 868 | 866 |
| 869 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 867 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ |
| 870 F(CreateSymbol, 1, 1) \ | 868 F(CreateSymbol, 1, 1) \ |
| 871 F(CreatePrivateSymbol, 1, 1) \ | 869 F(CreatePrivateSymbol, 1, 1) \ |
| 872 F(SymbolDescription, 1, 1) \ | 870 F(SymbolDescription, 1, 1) \ |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1180 | 1178 |
| 1181 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1179 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1182 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1180 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1183 STATIC_ASSERT(LANGUAGE_END == 3); | 1181 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1184 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1182 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1185 | 1183 |
| 1186 } // namespace internal | 1184 } // namespace internal |
| 1187 } // namespace v8 | 1185 } // namespace v8 |
| 1188 | 1186 |
| 1189 #endif // V8_RUNTIME_RUNTIME_H_ | 1187 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |