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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 #endif | 284 #endif |
285 | 285 |
286 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ | 286 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ |
287 F(AllocateInNewSpace, 1, 1) \ | 287 F(AllocateInNewSpace, 1, 1) \ |
288 F(AllocateInTargetSpace, 2, 1) \ | 288 F(AllocateInTargetSpace, 2, 1) \ |
289 F(AllocateSeqOneByteString, 1, 1) \ | 289 F(AllocateSeqOneByteString, 1, 1) \ |
290 F(AllocateSeqTwoByteString, 1, 1) \ | 290 F(AllocateSeqTwoByteString, 1, 1) \ |
291 F(CheckIsBootstrapping, 0, 1) \ | 291 F(CheckIsBootstrapping, 0, 1) \ |
292 F(CreateListFromArrayLike, 1, 1) \ | 292 F(CreateListFromArrayLike, 1, 1) \ |
293 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ | 293 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ |
294 F(ExportExperimentalFromRuntime, 1, 1) \ | |
295 F(ExportFromRuntime, 1, 1) \ | 294 F(ExportFromRuntime, 1, 1) \ |
296 F(IncrementUseCounter, 1, 1) \ | 295 F(IncrementUseCounter, 1, 1) \ |
297 F(InstallToContext, 1, 1) \ | 296 F(InstallToContext, 1, 1) \ |
298 F(Interrupt, 0, 1) \ | 297 F(Interrupt, 0, 1) \ |
299 F(IS_VAR, 1, 1) \ | 298 F(IS_VAR, 1, 1) \ |
300 F(NewReferenceError, 2, 1) \ | 299 F(NewReferenceError, 2, 1) \ |
301 F(NewSyntaxError, 2, 1) \ | 300 F(NewSyntaxError, 2, 1) \ |
302 F(NewTypeError, 2, 1) \ | 301 F(NewTypeError, 2, 1) \ |
303 F(OrdinaryHasInstance, 2, 1) \ | 302 F(OrdinaryHasInstance, 2, 1) \ |
304 F(PromoteScheduledException, 0, 1) \ | 303 F(PromoteScheduledException, 0, 1) \ |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 kMaybeDeopted = 1 << 3, | 857 kMaybeDeopted = 1 << 3, |
859 kOptimized = 1 << 4, | 858 kOptimized = 1 << 4, |
860 kTurboFanned = 1 << 5, | 859 kTurboFanned = 1 << 5, |
861 kInterpreted = 1 << 6, | 860 kInterpreted = 1 << 6, |
862 }; | 861 }; |
863 | 862 |
864 } // namespace internal | 863 } // namespace internal |
865 } // namespace v8 | 864 } // namespace v8 |
866 | 865 |
867 #endif // V8_RUNTIME_RUNTIME_H_ | 866 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |