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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 F(ThrowCalledNonCallable, 1, 1) \ | 320 F(ThrowCalledNonCallable, 1, 1) \ |
321 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 321 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
322 F(CreateListFromArrayLike, 1, 1) \ | 322 F(CreateListFromArrayLike, 1, 1) \ |
323 F(IncrementUseCounter, 1, 1) \ | 323 F(IncrementUseCounter, 1, 1) \ |
324 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ | 324 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ |
325 F(EnqueueMicrotask, 1, 1) \ | 325 F(EnqueueMicrotask, 1, 1) \ |
326 F(RunMicrotasks, 0, 1) \ | 326 F(RunMicrotasks, 0, 1) \ |
327 F(OrdinaryHasInstance, 2, 1) | 327 F(OrdinaryHasInstance, 2, 1) |
328 | 328 |
329 #define FOR_EACH_INTRINSIC_JSON(F) \ | 329 #define FOR_EACH_INTRINSIC_JSON(F) \ |
330 F(QuoteJSONString, 1, 1) \ | |
331 F(BasicJSONStringify, 3, 1) \ | |
332 F(ParseJson, 1, 1) | 330 F(ParseJson, 1, 1) |
333 | 331 |
334 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 332 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
335 F(CreateRegExpLiteral, 4, 1) \ | 333 F(CreateRegExpLiteral, 4, 1) \ |
336 F(CreateObjectLiteral, 4, 1) \ | 334 F(CreateObjectLiteral, 4, 1) \ |
337 F(CreateArrayLiteral, 4, 1) \ | 335 F(CreateArrayLiteral, 4, 1) \ |
338 F(CreateArrayLiteralStubBailout, 3, 1) | 336 F(CreateArrayLiteralStubBailout, 3, 1) |
339 | 337 |
340 | 338 |
341 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ | 339 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ |
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 | 1161 |
1164 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1162 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1165 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1163 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1166 STATIC_ASSERT(LANGUAGE_END == 3); | 1164 STATIC_ASSERT(LANGUAGE_END == 3); |
1167 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1165 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1168 | 1166 |
1169 } // namespace internal | 1167 } // namespace internal |
1170 } // namespace v8 | 1168 } // namespace v8 |
1171 | 1169 |
1172 #endif // V8_RUNTIME_RUNTIME_H_ | 1170 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |