| 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 F(CreateBreakIterator, 3, 1) \ | 269 F(CreateBreakIterator, 3, 1) \ |
| 270 F(BreakIteratorAdoptText, 2, 1) \ | 270 F(BreakIteratorAdoptText, 2, 1) \ |
| 271 F(BreakIteratorFirst, 1, 1) \ | 271 F(BreakIteratorFirst, 1, 1) \ |
| 272 F(BreakIteratorNext, 1, 1) \ | 272 F(BreakIteratorNext, 1, 1) \ |
| 273 F(BreakIteratorCurrent, 1, 1) \ | 273 F(BreakIteratorCurrent, 1, 1) \ |
| 274 F(BreakIteratorBreakType, 1, 1) | 274 F(BreakIteratorBreakType, 1, 1) |
| 275 #else | 275 #else |
| 276 #define FOR_EACH_INTRINSIC_I18N(F) | 276 #define FOR_EACH_INTRINSIC_I18N(F) |
| 277 #endif | 277 #endif |
| 278 | 278 |
| 279 | |
| 280 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ | 279 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ |
| 281 F(CheckIsBootstrapping, 0, 1) \ | 280 F(CheckIsBootstrapping, 0, 1) \ |
| 282 F(ExportFromRuntime, 1, 1) \ | 281 F(ExportFromRuntime, 1, 1) \ |
| 283 F(ExportExperimentalFromRuntime, 1, 1) \ | 282 F(ExportExperimentalFromRuntime, 1, 1) \ |
| 284 F(InstallToContext, 1, 1) \ | 283 F(InstallToContext, 1, 1) \ |
| 285 F(Throw, 1, 1) \ | 284 F(Throw, 1, 1) \ |
| 286 F(ReThrow, 1, 1) \ | 285 F(ReThrow, 1, 1) \ |
| 287 F(UnwindAndFindExceptionHandler, 0, 1) \ | 286 F(UnwindAndFindExceptionHandler, 0, 1) \ |
| 288 F(PromoteScheduledException, 0, 1) \ | 287 F(PromoteScheduledException, 0, 1) \ |
| 289 F(ThrowReferenceError, 1, 1) \ | 288 F(ThrowReferenceError, 1, 1) \ |
| (...skipping 24 matching lines...) Expand all Loading... |
| 314 F(CallSiteIsToplevelRT, 1, 1) \ | 313 F(CallSiteIsToplevelRT, 1, 1) \ |
| 315 F(CallSiteIsEvalRT, 1, 1) \ | 314 F(CallSiteIsEvalRT, 1, 1) \ |
| 316 F(CallSiteIsConstructorRT, 1, 1) \ | 315 F(CallSiteIsConstructorRT, 1, 1) \ |
| 317 F(IS_VAR, 1, 1) \ | 316 F(IS_VAR, 1, 1) \ |
| 318 F(IncrementStatsCounter, 1, 1) \ | 317 F(IncrementStatsCounter, 1, 1) \ |
| 319 F(ThrowConstructedNonConstructable, 1, 1) \ | 318 F(ThrowConstructedNonConstructable, 1, 1) \ |
| 320 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 319 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
| 321 F(ThrowCalledNonCallable, 1, 1) \ | 320 F(ThrowCalledNonCallable, 1, 1) \ |
| 322 F(CreateListFromArrayLike, 1, 1) \ | 321 F(CreateListFromArrayLike, 1, 1) \ |
| 323 F(IncrementUseCounter, 1, 1) \ | 322 F(IncrementUseCounter, 1, 1) \ |
| 323 F(GetOrdinaryHasInstance, 0, 1) \ |
| 324 F(GetAndResetRuntimeCallStats, 0, 1) | 324 F(GetAndResetRuntimeCallStats, 0, 1) |
| 325 | 325 |
| 326 | |
| 327 #define FOR_EACH_INTRINSIC_JSON(F) \ | 326 #define FOR_EACH_INTRINSIC_JSON(F) \ |
| 328 F(QuoteJSONString, 1, 1) \ | 327 F(QuoteJSONString, 1, 1) \ |
| 329 F(BasicJSONStringify, 1, 1) \ | 328 F(BasicJSONStringify, 1, 1) \ |
| 330 F(ParseJson, 1, 1) | 329 F(ParseJson, 1, 1) |
| 331 | 330 |
| 332 | 331 |
| 333 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 332 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
| 334 F(CreateRegExpLiteral, 4, 1) \ | 333 F(CreateRegExpLiteral, 4, 1) \ |
| 335 F(CreateObjectLiteral, 4, 1) \ | 334 F(CreateObjectLiteral, 4, 1) \ |
| 336 F(CreateArrayLiteral, 4, 1) \ | 335 F(CreateArrayLiteral, 4, 1) \ |
| (...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1187 | 1186 |
| 1188 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1187 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1189 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1188 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1190 STATIC_ASSERT(LANGUAGE_END == 3); | 1189 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1191 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1190 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1192 | 1191 |
| 1193 } // namespace internal | 1192 } // namespace internal |
| 1194 } // namespace v8 | 1193 } // namespace v8 |
| 1195 | 1194 |
| 1196 #endif // V8_RUNTIME_RUNTIME_H_ | 1195 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |