| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 F(LiveEditReplaceFunctionCode, 2, 1) \ | 343 F(LiveEditReplaceFunctionCode, 2, 1) \ |
| 344 F(LiveEditFunctionSetScript, 2, 1) \ | 344 F(LiveEditFunctionSetScript, 2, 1) \ |
| 345 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 345 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
| 346 F(LiveEditPatchFunctionPositions, 2, 1) \ | 346 F(LiveEditPatchFunctionPositions, 2, 1) \ |
| 347 F(LiveEditCheckAndDropActivations, 3, 1) \ | 347 F(LiveEditCheckAndDropActivations, 3, 1) \ |
| 348 F(LiveEditCompareStrings, 2, 1) \ | 348 F(LiveEditCompareStrings, 2, 1) \ |
| 349 F(LiveEditRestartFrame, 2, 1) | 349 F(LiveEditRestartFrame, 2, 1) |
| 350 | 350 |
| 351 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 1, 1) | 351 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 1, 1) |
| 352 | 352 |
| 353 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ | 353 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ |
| 354 F(IsValidSmi, 1, 1) \ | 354 F(IsValidSmi, 1, 1) \ |
| 355 F(StringToNumber, 1, 1) \ | 355 F(StringToNumber, 1, 1) \ |
| 356 F(StringParseInt, 2, 1) \ | 356 F(StringParseInt, 2, 1) \ |
| 357 F(StringParseFloat, 1, 1) \ | 357 F(StringParseFloat, 1, 1) \ |
| 358 F(NumberToString, 1, 1) \ | 358 F(NumberToString, -1 /* 1 or 2 */, 1) \ |
| 359 F(NumberToStringSkipCache, 1, 1) \ | 359 F(NumberToStringSkipCache, 1, 1) \ |
| 360 F(NumberToSmi, 1, 1) \ | 360 F(NumberToSmi, 1, 1) \ |
| 361 F(SmiLexicographicCompare, 2, 1) \ | 361 F(SmiLexicographicCompare, 2, 1) \ |
| 362 F(MaxSmi, 0, 1) \ | 362 F(MaxSmi, 0, 1) \ |
| 363 F(IsSmi, 1, 1) \ | 363 F(IsSmi, 1, 1) \ |
| 364 F(GetRootNaN, 0, 1) \ | 364 F(GetRootNaN, 0, 1) \ |
| 365 F(GetHoleNaNUpper, 0, 1) \ | 365 F(GetHoleNaNUpper, 0, 1) \ |
| 366 F(GetHoleNaNLower, 0, 1) | 366 F(GetHoleNaNLower, 0, 1) |
| 367 | 367 |
| 368 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 368 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
| 369 F(GetPrototype, 1, 1) \ | 369 F(GetPrototype, 1, 1) \ |
| 370 F(ObjectHasOwnProperty, 2, 1) \ | 370 F(ObjectHasOwnProperty, 2, 1) \ |
| 371 F(InternalSetPrototype, 2, 1) \ | 371 F(InternalSetPrototype, 2, 1) \ |
| 372 F(SetPrototype, 2, 1) \ | 372 F(SetPrototype, 2, 1) \ |
| 373 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ | 373 F(OptimizeObjectForAddingMultipleProperties, 2, 1) \ |
| 374 F(GetProperty, 2, 1) \ | 374 F(GetProperty, 2, 1) \ |
| 375 F(GetGlobal, 3, 1) \ | 375 F(GetGlobal, 3, 1) \ |
| (...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 | 1130 |
| 1131 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1131 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1132 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1132 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1133 STATIC_ASSERT(LANGUAGE_END == 3); | 1133 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1134 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1134 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1135 | 1135 |
| 1136 } // namespace internal | 1136 } // namespace internal |
| 1137 } // namespace v8 | 1137 } // namespace v8 |
| 1138 | 1138 |
| 1139 #endif // V8_RUNTIME_RUNTIME_H_ | 1139 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |