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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 314 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
315 F(CreateListFromArrayLike, 1, 1) \ | 315 F(CreateListFromArrayLike, 1, 1) \ |
316 F(IncrementUseCounter, 1, 1) \ | 316 F(IncrementUseCounter, 1, 1) \ |
317 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ | 317 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ |
318 F(EnqueueMicrotask, 1, 1) \ | 318 F(EnqueueMicrotask, 1, 1) \ |
319 F(RunMicrotasks, 0, 1) \ | 319 F(RunMicrotasks, 0, 1) \ |
320 F(OrdinaryHasInstance, 2, 1) | 320 F(OrdinaryHasInstance, 2, 1) |
321 | 321 |
322 #define FOR_EACH_INTRINSIC_JSON(F) \ | 322 #define FOR_EACH_INTRINSIC_JSON(F) \ |
323 F(QuoteJSONString, 1, 1) \ | 323 F(QuoteJSONString, 1, 1) \ |
324 F(BasicJSONStringify, 2, 1) \ | 324 F(BasicJSONStringify, 3, 1) \ |
325 F(ParseJson, 1, 1) | 325 F(ParseJson, 1, 1) |
326 | 326 |
327 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 327 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
328 F(CreateRegExpLiteral, 4, 1) \ | 328 F(CreateRegExpLiteral, 4, 1) \ |
329 F(CreateObjectLiteral, 4, 1) \ | 329 F(CreateObjectLiteral, 4, 1) \ |
330 F(CreateArrayLiteral, 4, 1) \ | 330 F(CreateArrayLiteral, 4, 1) \ |
331 F(CreateArrayLiteralStubBailout, 3, 1) | 331 F(CreateArrayLiteralStubBailout, 3, 1) |
332 | 332 |
333 | 333 |
334 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ | 334 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ |
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1156 | 1156 |
1157 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1157 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1158 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1158 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1159 STATIC_ASSERT(LANGUAGE_END == 3); | 1159 STATIC_ASSERT(LANGUAGE_END == 3); |
1160 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1160 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1161 | 1161 |
1162 } // namespace internal | 1162 } // namespace internal |
1163 } // namespace v8 | 1163 } // namespace v8 |
1164 | 1164 |
1165 #endif // V8_RUNTIME_RUNTIME_H_ | 1165 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |