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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 // Platform-specific return sequence | 470 // Platform-specific return sequence |
471 void EmitReturnSequence(); | 471 void EmitReturnSequence(); |
472 | 472 |
473 // Platform-specific code sequences for calls | 473 // Platform-specific code sequences for calls |
474 void EmitCall(Call* expr, CallICState::CallType = CallICState::FUNCTION); | 474 void EmitCall(Call* expr, CallICState::CallType = CallICState::FUNCTION); |
475 void EmitSuperConstructorCall(Call* expr); | 475 void EmitSuperConstructorCall(Call* expr); |
476 void EmitCallWithLoadIC(Call* expr); | 476 void EmitCallWithLoadIC(Call* expr); |
477 void EmitSuperCallWithLoadIC(Call* expr); | 477 void EmitSuperCallWithLoadIC(Call* expr); |
478 void EmitKeyedCallWithLoadIC(Call* expr, Expression* key); | 478 void EmitKeyedCallWithLoadIC(Call* expr, Expression* key); |
479 void EmitKeyedSuperCallWithLoadIC(Call* expr); | 479 void EmitKeyedSuperCallWithLoadIC(Call* expr); |
| 480 void EmitPossiblyEvalCall(Call* expr); |
480 | 481 |
481 #define FOR_EACH_FULL_CODE_INTRINSIC(F) \ | 482 #define FOR_EACH_FULL_CODE_INTRINSIC(F) \ |
482 F(IsSmi) \ | 483 F(IsSmi) \ |
483 F(IsArray) \ | 484 F(IsArray) \ |
484 F(IsTypedArray) \ | 485 F(IsTypedArray) \ |
485 F(IsRegExp) \ | 486 F(IsRegExp) \ |
486 F(IsJSProxy) \ | 487 F(IsJSProxy) \ |
487 F(IsConstructCall) \ | 488 F(IsConstructCall) \ |
488 F(Call) \ | 489 F(Call) \ |
489 F(CallFunction) \ | 490 F(CallFunction) \ |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 Address start_; | 1063 Address start_; |
1063 Address instruction_start_; | 1064 Address instruction_start_; |
1064 uint32_t length_; | 1065 uint32_t length_; |
1065 }; | 1066 }; |
1066 | 1067 |
1067 | 1068 |
1068 } // namespace internal | 1069 } // namespace internal |
1069 } // namespace v8 | 1070 } // namespace v8 |
1070 | 1071 |
1071 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ | 1072 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ |
OLD | NEW |