| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 F(StringEquals, 2, 1) \ | 170 F(StringEquals, 2, 1) \ |
| 171 \ | 171 \ |
| 172 F(NumberCompare, 3, 1) \ | 172 F(NumberCompare, 3, 1) \ |
| 173 F(SmiLexicographicCompare, 2, 1) \ | 173 F(SmiLexicographicCompare, 2, 1) \ |
| 174 F(StringCompare, 2, 1) \ | 174 F(StringCompare, 2, 1) \ |
| 175 \ | 175 \ |
| 176 /* Math */ \ | 176 /* Math */ \ |
| 177 F(Math_acos, 1, 1) \ | 177 F(Math_acos, 1, 1) \ |
| 178 F(Math_asin, 1, 1) \ | 178 F(Math_asin, 1, 1) \ |
| 179 F(Math_atan, 1, 1) \ | 179 F(Math_atan, 1, 1) \ |
| 180 F(Math_log, 1, 1) \ | 180 F(Math_atan2, 2, 1) \ |
| 181 F(Math_cbrt, 1, 1) \ | |
| 182 F(Math_log1p, 1, 1) \ | |
| 183 F(Math_expm1, 1, 1) \ | |
| 184 F(Math_sqrt, 1, 1) \ | |
| 185 F(Math_exp, 1, 1) \ | 181 F(Math_exp, 1, 1) \ |
| 186 F(Math_floor, 1, 1) \ | 182 F(Math_floor, 1, 1) \ |
| 183 F(Math_log, 1, 1) \ |
| 187 F(Math_pow, 2, 1) \ | 184 F(Math_pow, 2, 1) \ |
| 188 F(Math_pow_cfunction, 2, 1) \ | 185 F(Math_pow_cfunction, 2, 1) \ |
| 189 F(Math_atan2, 2, 1) \ | |
| 190 F(RoundNumber, 1, 1) \ | 186 F(RoundNumber, 1, 1) \ |
| 191 F(Math_fround, 1, 1) \ | 187 F(Math_sqrt, 1, 1) \ |
| 192 \ | 188 \ |
| 193 /* Regular expressions */ \ | 189 /* Regular expressions */ \ |
| 194 F(RegExpCompile, 3, 1) \ | 190 F(RegExpCompile, 3, 1) \ |
| 195 F(RegExpExec, 4, 1) \ | 191 F(RegExpExec, 4, 1) \ |
| 196 F(RegExpExecMultiple, 4, 1) \ | 192 F(RegExpExecMultiple, 4, 1) \ |
| 197 F(RegExpInitializeObject, 5, 1) \ | 193 F(RegExpInitializeObject, 5, 1) \ |
| 198 F(RegExpConstructResult, 3, 1) \ | 194 F(RegExpConstructResult, 3, 1) \ |
| 199 \ | 195 \ |
| 200 /* JSON */ \ | 196 /* JSON */ \ |
| 201 F(ParseJson, 1, 1) \ | 197 F(ParseJson, 1, 1) \ |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 \ | 301 \ |
| 306 /* Harmony generators */ \ | 302 /* Harmony generators */ \ |
| 307 F(CreateJSGeneratorObject, 0, 1) \ | 303 F(CreateJSGeneratorObject, 0, 1) \ |
| 308 F(SuspendJSGeneratorObject, 1, 1) \ | 304 F(SuspendJSGeneratorObject, 1, 1) \ |
| 309 F(ResumeJSGeneratorObject, 3, 1) \ | 305 F(ResumeJSGeneratorObject, 3, 1) \ |
| 310 F(ThrowGeneratorStateError, 1, 1) \ | 306 F(ThrowGeneratorStateError, 1, 1) \ |
| 311 \ | 307 \ |
| 312 /* ES5 */ \ | 308 /* ES5 */ \ |
| 313 F(ObjectFreeze, 1, 1) \ | 309 F(ObjectFreeze, 1, 1) \ |
| 314 \ | 310 \ |
| 315 /* Harmony Microtasks */ \ | |
| 316 F(GetMicrotaskState, 0, 1) \ | |
| 317 \ | |
| 318 /* Harmony modules */ \ | 311 /* Harmony modules */ \ |
| 319 F(IsJSModule, 1, 1) \ | 312 F(IsJSModule, 1, 1) \ |
| 320 \ | 313 \ |
| 321 /* Harmony symbols */ \ | 314 /* Harmony symbols */ \ |
| 322 F(CreateSymbol, 1, 1) \ | 315 F(CreateSymbol, 1, 1) \ |
| 323 F(CreatePrivateSymbol, 1, 1) \ | 316 F(CreatePrivateSymbol, 1, 1) \ |
| 324 F(NewSymbolWrapper, 1, 1) \ | 317 F(SymbolName, 1, 1) \ |
| 325 F(SymbolDescription, 1, 1) \ | |
| 326 F(SymbolIsPrivate, 1, 1) \ | 318 F(SymbolIsPrivate, 1, 1) \ |
| 327 \ | 319 \ |
| 328 /* Harmony proxies */ \ | 320 /* Harmony proxies */ \ |
| 329 F(CreateJSProxy, 2, 1) \ | 321 F(CreateJSProxy, 2, 1) \ |
| 330 F(CreateJSFunctionProxy, 4, 1) \ | 322 F(CreateJSFunctionProxy, 4, 1) \ |
| 331 F(IsJSProxy, 1, 1) \ | 323 F(IsJSProxy, 1, 1) \ |
| 332 F(IsJSFunctionProxy, 1, 1) \ | 324 F(IsJSFunctionProxy, 1, 1) \ |
| 333 F(GetHandler, 1, 1) \ | 325 F(GetHandler, 1, 1) \ |
| 334 F(GetCallTrap, 1, 1) \ | 326 F(GetCallTrap, 1, 1) \ |
| 335 F(GetConstructTrap, 1, 1) \ | 327 F(GetConstructTrap, 1, 1) \ |
| (...skipping 16 matching lines...) Expand all Loading... |
| 352 \ | 344 \ |
| 353 /* Harmony weak maps and sets */ \ | 345 /* Harmony weak maps and sets */ \ |
| 354 F(WeakCollectionInitialize, 1, 1) \ | 346 F(WeakCollectionInitialize, 1, 1) \ |
| 355 F(WeakCollectionGet, 2, 1) \ | 347 F(WeakCollectionGet, 2, 1) \ |
| 356 F(WeakCollectionHas, 2, 1) \ | 348 F(WeakCollectionHas, 2, 1) \ |
| 357 F(WeakCollectionDelete, 2, 1) \ | 349 F(WeakCollectionDelete, 2, 1) \ |
| 358 F(WeakCollectionSet, 3, 1) \ | 350 F(WeakCollectionSet, 3, 1) \ |
| 359 \ | 351 \ |
| 360 /* Harmony events */ \ | 352 /* Harmony events */ \ |
| 361 F(SetMicrotaskPending, 1, 1) \ | 353 F(SetMicrotaskPending, 1, 1) \ |
| 362 F(RunMicrotasks, 0, 1) \ | |
| 363 \ | 354 \ |
| 364 /* Harmony observe */ \ | 355 /* Harmony observe */ \ |
| 365 F(IsObserved, 1, 1) \ | 356 F(IsObserved, 1, 1) \ |
| 366 F(SetIsObserved, 1, 1) \ | 357 F(SetIsObserved, 1, 1) \ |
| 367 F(GetObservationState, 0, 1) \ | 358 F(GetObservationState, 0, 1) \ |
| 368 F(ObservationWeakMapCreate, 0, 1) \ | 359 F(ObservationWeakMapCreate, 0, 1) \ |
| 369 F(UnwrapGlobalProxy, 1, 1) \ | 360 F(UnwrapGlobalProxy, 1, 1) \ |
| 370 F(IsAccessAllowedForObserver, 3, 1) \ | 361 F(IsAccessAllowedForObserver, 3, 1) \ |
| 371 \ | 362 \ |
| 372 /* Harmony typed arrays */ \ | 363 /* Harmony typed arrays */ \ |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ | 430 F(InitializeVarGlobal, -1 /* 2 or 3 */, 1) \ |
| 440 F(InitializeConstGlobal, 2, 1) \ | 431 F(InitializeConstGlobal, 2, 1) \ |
| 441 F(InitializeConstContextSlot, 3, 1) \ | 432 F(InitializeConstContextSlot, 3, 1) \ |
| 442 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 433 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
| 443 \ | 434 \ |
| 444 /* Debugging */ \ | 435 /* Debugging */ \ |
| 445 F(DebugPrint, 1, 1) \ | 436 F(DebugPrint, 1, 1) \ |
| 446 F(DebugTrace, 0, 1) \ | 437 F(DebugTrace, 0, 1) \ |
| 447 F(TraceEnter, 0, 1) \ | 438 F(TraceEnter, 0, 1) \ |
| 448 F(TraceExit, 1, 1) \ | 439 F(TraceExit, 1, 1) \ |
| 449 F(Abort, 1, 1) \ | 440 F(Abort, 2, 1) \ |
| 450 F(AbortJS, 1, 1) \ | 441 F(AbortJS, 1, 1) \ |
| 451 /* Logging */ \ | 442 /* Logging */ \ |
| 452 F(Log, 2, 1) \ | 443 F(Log, 2, 1) \ |
| 453 /* ES5 */ \ | 444 /* ES5 */ \ |
| 454 F(LocalKeys, 1, 1) \ | 445 F(LocalKeys, 1, 1) \ |
| 455 /* Cache suport */ \ | 446 /* Cache suport */ \ |
| 456 F(GetFromCache, 2, 1) \ | 447 F(GetFromCache, 2, 1) \ |
| 457 \ | 448 \ |
| 458 /* Message objects */ \ | 449 /* Message objects */ \ |
| 459 F(MessageGetStartPosition, 1, 1) \ | 450 F(MessageGetStartPosition, 1, 1) \ |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 873 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 864 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
| 874 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 865 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
| 875 | 866 |
| 876 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 867 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 877 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 868 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 878 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 869 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 879 | 870 |
| 880 } } // namespace v8::internal | 871 } } // namespace v8::internal |
| 881 | 872 |
| 882 #endif // V8_RUNTIME_H_ | 873 #endif // V8_RUNTIME_H_ |
| OLD | NEW |