| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 F(LiveEditReplaceFunctionCode, 2, 1) \ | 362 F(LiveEditReplaceFunctionCode, 2, 1) \ |
| 363 F(LiveEditFunctionSetScript, 2, 1) \ | 363 F(LiveEditFunctionSetScript, 2, 1) \ |
| 364 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 364 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
| 365 F(LiveEditPatchFunctionPositions, 2, 1) \ | 365 F(LiveEditPatchFunctionPositions, 2, 1) \ |
| 366 F(LiveEditCheckAndDropActivations, 3, 1) \ | 366 F(LiveEditCheckAndDropActivations, 3, 1) \ |
| 367 F(LiveEditCompareStrings, 2, 1) \ | 367 F(LiveEditCompareStrings, 2, 1) \ |
| 368 F(LiveEditRestartFrame, 2, 1) | 368 F(LiveEditRestartFrame, 2, 1) |
| 369 | 369 |
| 370 | 370 |
| 371 #define FOR_EACH_INTRINSIC_MATHS(F) \ | 371 #define FOR_EACH_INTRINSIC_MATHS(F) \ |
| 372 F(MathAcos, 1, 1) \ | |
| 373 F(MathAsin, 1, 1) \ | |
| 374 F(MathAtan, 1, 1) \ | |
| 375 F(MathLogRT, 1, 1) \ | 372 F(MathLogRT, 1, 1) \ |
| 376 F(DoubleHi, 1, 1) \ | 373 F(DoubleHi, 1, 1) \ |
| 377 F(DoubleLo, 1, 1) \ | 374 F(DoubleLo, 1, 1) \ |
| 378 F(ConstructDouble, 2, 1) \ | 375 F(ConstructDouble, 2, 1) \ |
| 379 F(RemPiO2, 2, 1) \ | 376 F(RemPiO2, 2, 1) \ |
| 380 F(MathAtan2, 2, 1) \ | 377 F(MathAtan2, 2, 1) \ |
| 381 F(MathExpRT, 1, 1) \ | 378 F(MathExpRT, 1, 1) \ |
| 382 F(MathClz32, 1, 1) \ | 379 F(MathClz32, 1, 1) \ |
| 383 F(MathFloor, 1, 1) \ | 380 F(MathFloor, 1, 1) \ |
| 384 F(MathPow, 2, 1) \ | 381 F(MathPow, 2, 1) \ |
| 385 F(MathPowRT, 2, 1) \ | 382 F(MathPowRT, 2, 1) \ |
| 386 F(RoundNumber, 1, 1) \ | 383 F(RoundNumber, 1, 1) \ |
| 387 F(MathSqrt, 1, 1) \ | 384 F(MathSqrt, 1, 1) \ |
| 388 F(MathFround, 1, 1) \ | |
| 389 F(GenerateRandomNumbers, 1, 1) | 385 F(GenerateRandomNumbers, 1, 1) |
| 390 | 386 |
| 391 | 387 |
| 392 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ | 388 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ |
| 393 F(NumberToRadixString, 2, 1) \ | 389 F(NumberToRadixString, 2, 1) \ |
| 394 F(NumberToFixed, 2, 1) \ | 390 F(NumberToFixed, 2, 1) \ |
| 395 F(NumberToExponential, 2, 1) \ | 391 F(NumberToExponential, 2, 1) \ |
| 396 F(NumberToPrecision, 2, 1) \ | 392 F(NumberToPrecision, 2, 1) \ |
| 397 F(IsValidSmi, 1, 1) \ | 393 F(IsValidSmi, 1, 1) \ |
| 398 F(StringToNumber, 1, 1) \ | 394 F(StringToNumber, 1, 1) \ |
| 399 F(StringParseInt, 2, 1) \ | 395 F(StringParseInt, 2, 1) \ |
| 400 F(StringParseFloat, 1, 1) \ | 396 F(StringParseFloat, 1, 1) \ |
| 401 F(NumberToString, 1, 1) \ | 397 F(NumberToString, 1, 1) \ |
| 402 F(NumberToStringSkipCache, 1, 1) \ | 398 F(NumberToStringSkipCache, 1, 1) \ |
| 403 F(NumberToIntegerMapMinusZero, 1, 1) \ | 399 F(NumberToIntegerMapMinusZero, 1, 1) \ |
| 404 F(NumberToSmi, 1, 1) \ | 400 F(NumberToSmi, 1, 1) \ |
| 405 F(NumberImul, 2, 1) \ | |
| 406 F(SmiLexicographicCompare, 2, 1) \ | 401 F(SmiLexicographicCompare, 2, 1) \ |
| 407 F(MaxSmi, 0, 1) \ | 402 F(MaxSmi, 0, 1) \ |
| 408 F(IsSmi, 1, 1) \ | 403 F(IsSmi, 1, 1) \ |
| 409 F(GetRootNaN, 0, 1) \ | 404 F(GetRootNaN, 0, 1) \ |
| 410 F(GetHoleNaNUpper, 0, 1) \ | 405 F(GetHoleNaNUpper, 0, 1) \ |
| 411 F(GetHoleNaNLower, 0, 1) | 406 F(GetHoleNaNLower, 0, 1) |
| 412 | 407 |
| 413 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 408 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
| 414 F(GetPrototype, 1, 1) \ | 409 F(GetPrototype, 1, 1) \ |
| 415 F(InternalSetPrototype, 2, 1) \ | 410 F(InternalSetPrototype, 2, 1) \ |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1202 | 1197 |
| 1203 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1198 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1204 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1199 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1205 STATIC_ASSERT(LANGUAGE_END == 3); | 1200 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1206 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1201 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1207 | 1202 |
| 1208 } // namespace internal | 1203 } // namespace internal |
| 1209 } // namespace v8 | 1204 } // namespace v8 |
| 1210 | 1205 |
| 1211 #endif // V8_RUNTIME_RUNTIME_H_ | 1206 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |