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/objects.h" | 9 #include "src/objects.h" |
10 #include "src/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 F(CallSiteGetLineNumberRT, 1, 1) \ | 339 F(CallSiteGetLineNumberRT, 1, 1) \ |
340 F(CallSiteGetColumnNumberRT, 1, 1) \ | 340 F(CallSiteGetColumnNumberRT, 1, 1) \ |
341 F(CallSiteIsNativeRT, 1, 1) \ | 341 F(CallSiteIsNativeRT, 1, 1) \ |
342 F(CallSiteIsToplevelRT, 1, 1) \ | 342 F(CallSiteIsToplevelRT, 1, 1) \ |
343 F(CallSiteIsEvalRT, 1, 1) \ | 343 F(CallSiteIsEvalRT, 1, 1) \ |
344 F(CallSiteIsConstructorRT, 1, 1) \ | 344 F(CallSiteIsConstructorRT, 1, 1) \ |
345 F(IS_VAR, 1, 1) \ | 345 F(IS_VAR, 1, 1) \ |
346 F(IncrementStatsCounter, 1, 1) \ | 346 F(IncrementStatsCounter, 1, 1) \ |
347 F(ThrowConstructedNonConstructable, 1, 1) \ | 347 F(ThrowConstructedNonConstructable, 1, 1) \ |
348 F(ThrowCalledNonCallable, 1, 1) \ | 348 F(ThrowCalledNonCallable, 1, 1) \ |
349 F(CreateListFromArrayLike, 1, 1) | 349 F(CreateListFromArrayLike, 1, 1) \ |
| 350 F(IncrementUseCounter, 1, 1) |
350 | 351 |
351 | 352 |
352 #define FOR_EACH_INTRINSIC_JSON(F) \ | 353 #define FOR_EACH_INTRINSIC_JSON(F) \ |
353 F(QuoteJSONString, 1, 1) \ | 354 F(QuoteJSONString, 1, 1) \ |
354 F(BasicJSONStringify, 1, 1) \ | 355 F(BasicJSONStringify, 1, 1) \ |
355 F(ParseJson, 1, 1) | 356 F(ParseJson, 1, 1) |
356 | 357 |
357 | 358 |
358 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 359 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
359 F(CreateRegExpLiteral, 4, 1) \ | 360 F(CreateRegExpLiteral, 4, 1) \ |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1247 | 1248 |
1248 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1249 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1249 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1250 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1250 STATIC_ASSERT(LANGUAGE_END == 3); | 1251 STATIC_ASSERT(LANGUAGE_END == 3); |
1251 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1252 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1252 | 1253 |
1253 } // namespace internal | 1254 } // namespace internal |
1254 } // namespace v8 | 1255 } // namespace v8 |
1255 | 1256 |
1256 #endif // V8_RUNTIME_RUNTIME_H_ | 1257 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |