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_FULL_CODEGEN_FULL_CODEGEN_H_ | 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/assert-scope.h" | 9 #include "src/assert-scope.h" |
10 #include "src/ast/ast.h" | 10 #include "src/ast/ast.h" |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 F(RegExpExec) \ | 505 F(RegExpExec) \ |
506 F(RegExpConstructResult) \ | 506 F(RegExpConstructResult) \ |
507 F(ToInteger) \ | 507 F(ToInteger) \ |
508 F(NumberToString) \ | 508 F(NumberToString) \ |
509 F(ToString) \ | 509 F(ToString) \ |
510 F(ToLength) \ | 510 F(ToLength) \ |
511 F(ToNumber) \ | 511 F(ToNumber) \ |
512 F(ToName) \ | 512 F(ToName) \ |
513 F(ToObject) \ | 513 F(ToObject) \ |
514 F(DebugIsActive) \ | 514 F(DebugIsActive) \ |
515 F(CreateIterResultObject) | 515 F(CreateIterResultObject) \ |
| 516 F(AtomicsLoad) |
516 | 517 |
517 #define GENERATOR_DECLARATION(Name) void Emit##Name(CallRuntime* call); | 518 #define GENERATOR_DECLARATION(Name) void Emit##Name(CallRuntime* call); |
518 FOR_EACH_FULL_CODE_INTRINSIC(GENERATOR_DECLARATION) | 519 FOR_EACH_FULL_CODE_INTRINSIC(GENERATOR_DECLARATION) |
519 #undef GENERATOR_DECLARATION | 520 #undef GENERATOR_DECLARATION |
520 | 521 |
521 void EmitIntrinsicAsStubCall(CallRuntime* expr, const Callable& callable); | 522 void EmitIntrinsicAsStubCall(CallRuntime* expr, const Callable& callable); |
522 | 523 |
523 // Platform-specific code for resuming generators. | 524 // Platform-specific code for resuming generators. |
524 void EmitGeneratorResume(Expression *generator, | 525 void EmitGeneratorResume(Expression *generator, |
525 Expression *value, | 526 Expression *value, |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 Address start_; | 1044 Address start_; |
1044 Address instruction_start_; | 1045 Address instruction_start_; |
1045 uint32_t length_; | 1046 uint32_t length_; |
1046 }; | 1047 }; |
1047 | 1048 |
1048 | 1049 |
1049 } // namespace internal | 1050 } // namespace internal |
1050 } // namespace v8 | 1051 } // namespace v8 |
1051 | 1052 |
1052 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1053 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
OLD | NEW |