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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 F(CallSiteGetFunctionNameRT, 1, 1) \ | 307 F(CallSiteGetFunctionNameRT, 1, 1) \ |
308 F(CallSiteGetScriptNameOrSourceUrlRT, 1, 1) \ | 308 F(CallSiteGetScriptNameOrSourceUrlRT, 1, 1) \ |
309 F(CallSiteGetMethodNameRT, 1, 1) \ | 309 F(CallSiteGetMethodNameRT, 1, 1) \ |
310 F(CallSiteGetLineNumberRT, 1, 1) \ | 310 F(CallSiteGetLineNumberRT, 1, 1) \ |
311 F(CallSiteGetColumnNumberRT, 1, 1) \ | 311 F(CallSiteGetColumnNumberRT, 1, 1) \ |
312 F(CallSiteIsNativeRT, 1, 1) \ | 312 F(CallSiteIsNativeRT, 1, 1) \ |
313 F(CallSiteIsToplevelRT, 1, 1) \ | 313 F(CallSiteIsToplevelRT, 1, 1) \ |
314 F(CallSiteIsEvalRT, 1, 1) \ | 314 F(CallSiteIsEvalRT, 1, 1) \ |
315 F(CallSiteIsConstructorRT, 1, 1) \ | 315 F(CallSiteIsConstructorRT, 1, 1) \ |
316 F(IS_VAR, 1, 1) \ | 316 F(IS_VAR, 1, 1) \ |
317 F(IncrementStatsCounter, 1, 1) \ | |
318 F(ThrowConstructedNonConstructable, 1, 1) \ | 317 F(ThrowConstructedNonConstructable, 1, 1) \ |
319 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 318 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
320 F(ThrowCalledNonCallable, 1, 1) \ | 319 F(ThrowCalledNonCallable, 1, 1) \ |
321 F(CreateListFromArrayLike, 1, 1) \ | 320 F(CreateListFromArrayLike, 1, 1) \ |
322 F(IncrementUseCounter, 1, 1) \ | 321 F(IncrementUseCounter, 1, 1) \ |
323 F(GetOrdinaryHasInstance, 0, 1) \ | 322 F(GetOrdinaryHasInstance, 0, 1) \ |
324 F(GetAndResetRuntimeCallStats, 0, 1) | 323 F(GetAndResetRuntimeCallStats, 0, 1) |
325 | 324 |
326 #define FOR_EACH_INTRINSIC_JSON(F) \ | 325 #define FOR_EACH_INTRINSIC_JSON(F) \ |
327 F(QuoteJSONString, 1, 1) \ | 326 F(QuoteJSONString, 1, 1) \ |
(...skipping 859 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 |