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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 F(LiveEditReplaceScript, 3, 1) \ | 341 F(LiveEditReplaceScript, 3, 1) \ |
342 F(LiveEditFunctionSourceUpdated, 1, 1) \ | 342 F(LiveEditFunctionSourceUpdated, 1, 1) \ |
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 | 351 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 1, 1) |
352 #define FOR_EACH_INTRINSIC_MATHS(F) \ | |
353 F(DoubleHi, 1, 1) \ | |
354 F(DoubleLo, 1, 1) \ | |
355 F(GenerateRandomNumbers, 1, 1) | |
356 | |
357 | 352 |
358 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ | 353 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ |
359 F(NumberToRadixString, 2, 1) \ | 354 F(NumberToRadixString, 2, 1) \ |
360 F(NumberToFixed, 2, 1) \ | 355 F(NumberToFixed, 2, 1) \ |
361 F(NumberToExponential, 2, 1) \ | 356 F(NumberToExponential, 2, 1) \ |
362 F(NumberToPrecision, 2, 1) \ | 357 F(NumberToPrecision, 2, 1) \ |
363 F(IsValidSmi, 1, 1) \ | 358 F(IsValidSmi, 1, 1) \ |
364 F(StringToNumber, 1, 1) \ | 359 F(StringToNumber, 1, 1) \ |
365 F(StringParseInt, 2, 1) \ | 360 F(StringParseInt, 2, 1) \ |
366 F(StringParseFloat, 1, 1) \ | 361 F(StringParseFloat, 1, 1) \ |
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1140 | 1135 |
1141 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1136 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1142 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1137 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1143 STATIC_ASSERT(LANGUAGE_END == 3); | 1138 STATIC_ASSERT(LANGUAGE_END == 3); |
1144 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1139 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1145 | 1140 |
1146 } // namespace internal | 1141 } // namespace internal |
1147 } // namespace v8 | 1142 } // namespace v8 |
1148 | 1143 |
1149 #endif // V8_RUNTIME_RUNTIME_H_ | 1144 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |