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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 F(ThrowInvalidHint, 1, 1) \ | 332 F(ThrowInvalidHint, 1, 1) \ |
333 F(ThrowInvalidStringLength, 0, 1) \ | 333 F(ThrowInvalidStringLength, 0, 1) \ |
334 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 334 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
335 F(ThrowSymbolIteratorInvalid, 0, 1) \ | 335 F(ThrowSymbolIteratorInvalid, 0, 1) \ |
336 F(ThrowNotGeneric, 1, 1) \ | 336 F(ThrowNotGeneric, 1, 1) \ |
337 F(ThrowReferenceError, 1, 1) \ | 337 F(ThrowReferenceError, 1, 1) \ |
338 F(ThrowStackOverflow, 0, 1) \ | 338 F(ThrowStackOverflow, 0, 1) \ |
339 F(ThrowTypeError, -1 /* >= 1 */, 1) \ | 339 F(ThrowTypeError, -1 /* >= 1 */, 1) \ |
340 F(ThrowUndefinedOrNullToObject, 1, 1) \ | 340 F(ThrowUndefinedOrNullToObject, 1, 1) \ |
341 F(Typeof, 1, 1) \ | 341 F(Typeof, 1, 1) \ |
342 F(UnwindAndFindExceptionHandler, 0, 1) | 342 F(UnwindAndFindExceptionHandler, 0, 1) \ |
| 343 F(CountUsage, 1, 1) \ |
| 344 F(AllowDynamicFunction, 1, 1) |
343 | 345 |
344 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 346 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
345 F(CreateRegExpLiteral, 4, 1) \ | 347 F(CreateRegExpLiteral, 4, 1) \ |
346 F(CreateObjectLiteral, 4, 1) \ | 348 F(CreateObjectLiteral, 4, 1) \ |
347 F(CreateArrayLiteral, 4, 1) \ | 349 F(CreateArrayLiteral, 4, 1) \ |
348 F(CreateArrayLiteralStubBailout, 3, 1) | 350 F(CreateArrayLiteralStubBailout, 3, 1) |
349 | 351 |
350 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ | 352 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ |
351 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ | 353 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ |
352 F(LiveEditGatherCompileInfo, 2, 1) \ | 354 F(LiveEditGatherCompileInfo, 2, 1) \ |
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 | 1149 |
1148 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1150 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1149 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1151 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1150 STATIC_ASSERT(LANGUAGE_END == 2); | 1152 STATIC_ASSERT(LANGUAGE_END == 2); |
1151 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1153 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1152 | 1154 |
1153 } // namespace internal | 1155 } // namespace internal |
1154 } // namespace v8 | 1156 } // namespace v8 |
1155 | 1157 |
1156 #endif // V8_RUNTIME_RUNTIME_H_ | 1158 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |