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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 F(RegExpExec) \ | 538 F(RegExpExec) \ |
539 F(RegExpConstructResult) \ | 539 F(RegExpConstructResult) \ |
540 F(ToInteger) \ | 540 F(ToInteger) \ |
541 F(NumberToString) \ | 541 F(NumberToString) \ |
542 F(ToString) \ | 542 F(ToString) \ |
543 F(ToLength) \ | 543 F(ToLength) \ |
544 F(ToNumber) \ | 544 F(ToNumber) \ |
545 F(ToName) \ | 545 F(ToName) \ |
546 F(ToObject) \ | 546 F(ToObject) \ |
547 F(DebugIsActive) \ | 547 F(DebugIsActive) \ |
548 F(GetOrdinaryHasInstance) \ | |
549 F(CreateIterResultObject) | 548 F(CreateIterResultObject) |
550 | 549 |
551 #define GENERATOR_DECLARATION(Name) void Emit##Name(CallRuntime* call); | 550 #define GENERATOR_DECLARATION(Name) void Emit##Name(CallRuntime* call); |
552 FOR_EACH_FULL_CODE_INTRINSIC(GENERATOR_DECLARATION) | 551 FOR_EACH_FULL_CODE_INTRINSIC(GENERATOR_DECLARATION) |
553 #undef GENERATOR_DECLARATION | 552 #undef GENERATOR_DECLARATION |
554 | 553 |
555 void EmitIntrinsicAsStubCall(CallRuntime* expr, const Callable& callable); | 554 void EmitIntrinsicAsStubCall(CallRuntime* expr, const Callable& callable); |
556 | 555 |
557 // Emits call to respective code stub. | 556 // Emits call to respective code stub. |
558 void EmitHasProperty(); | 557 void EmitHasProperty(); |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1070 Address start_; | 1069 Address start_; |
1071 Address instruction_start_; | 1070 Address instruction_start_; |
1072 uint32_t length_; | 1071 uint32_t length_; |
1073 }; | 1072 }; |
1074 | 1073 |
1075 | 1074 |
1076 } // namespace internal | 1075 } // namespace internal |
1077 } // namespace v8 | 1076 } // namespace v8 |
1078 | 1077 |
1079 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1078 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
OLD | NEW |