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.h" | 10 #include "src/ast.h" |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 F(StringCharCodeAt) \ | 523 F(StringCharCodeAt) \ |
524 F(StringAdd) \ | 524 F(StringAdd) \ |
525 F(SubString) \ | 525 F(SubString) \ |
526 F(StringCompare) \ | 526 F(StringCompare) \ |
527 F(RegExpExec) \ | 527 F(RegExpExec) \ |
528 F(RegExpConstructResult) \ | 528 F(RegExpConstructResult) \ |
529 F(NumberToString) \ | 529 F(NumberToString) \ |
530 F(ToString) \ | 530 F(ToString) \ |
531 F(ToName) \ | 531 F(ToName) \ |
532 F(ToObject) \ | 532 F(ToObject) \ |
533 F(DebugIsActive) | 533 F(DebugIsActive) \ |
| 534 F(CreateIterResultObject) |
534 | 535 |
535 #define GENERATOR_DECLARATION(Name) void Emit##Name(CallRuntime* call); | 536 #define GENERATOR_DECLARATION(Name) void Emit##Name(CallRuntime* call); |
536 FOR_EACH_FULL_CODE_INTRINSIC(GENERATOR_DECLARATION) | 537 FOR_EACH_FULL_CODE_INTRINSIC(GENERATOR_DECLARATION) |
537 #undef GENERATOR_DECLARATION | 538 #undef GENERATOR_DECLARATION |
538 | 539 |
539 // Platform-specific code for resuming generators. | 540 // Platform-specific code for resuming generators. |
540 void EmitGeneratorResume(Expression *generator, | 541 void EmitGeneratorResume(Expression *generator, |
541 Expression *value, | 542 Expression *value, |
542 JSGeneratorObject::ResumeMode resume_mode); | 543 JSGeneratorObject::ResumeMode resume_mode); |
543 | 544 |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1081 | 1082 |
1082 Address start_; | 1083 Address start_; |
1083 Address instruction_start_; | 1084 Address instruction_start_; |
1084 uint32_t length_; | 1085 uint32_t length_; |
1085 }; | 1086 }; |
1086 | 1087 |
1087 | 1088 |
1088 } } // namespace v8::internal | 1089 } } // namespace v8::internal |
1089 | 1090 |
1090 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1091 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
OLD | NEW |