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_H_ | 5 #ifndef V8_FULL_CODEGEN_H_ |
6 #define V8_FULL_CODEGEN_H_ | 6 #define V8_FULL_CODEGEN_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 | 553 |
554 // Complete a named property assignment. The receiver is expected on top | 554 // Complete a named property assignment. The receiver is expected on top |
555 // of the stack and the right-hand-side value in the accumulator. | 555 // of the stack and the right-hand-side value in the accumulator. |
556 void EmitNamedPropertyAssignment(Assignment* expr); | 556 void EmitNamedPropertyAssignment(Assignment* expr); |
557 | 557 |
558 // Complete a keyed property assignment. The receiver and key are | 558 // Complete a keyed property assignment. The receiver and key are |
559 // expected on top of the stack and the right-hand-side value in the | 559 // expected on top of the stack and the right-hand-side value in the |
560 // accumulator. | 560 // accumulator. |
561 void EmitKeyedPropertyAssignment(Assignment* expr); | 561 void EmitKeyedPropertyAssignment(Assignment* expr); |
562 | 562 |
| 563 void EmitLoadHomeObject(SuperReference* expr); |
| 564 |
563 void CallIC(Handle<Code> code, | 565 void CallIC(Handle<Code> code, |
564 TypeFeedbackId id = TypeFeedbackId::None()); | 566 TypeFeedbackId id = TypeFeedbackId::None()); |
565 | 567 |
566 void CallLoadIC(ContextualMode mode, | 568 void CallLoadIC(ContextualMode mode, |
567 TypeFeedbackId id = TypeFeedbackId::None()); | 569 TypeFeedbackId id = TypeFeedbackId::None()); |
568 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 570 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
569 | 571 |
570 void SetFunctionPosition(FunctionLiteral* fun); | 572 void SetFunctionPosition(FunctionLiteral* fun); |
571 void SetReturnPosition(FunctionLiteral* fun); | 573 void SetReturnPosition(FunctionLiteral* fun); |
572 void SetStatementPosition(Statement* stmt); | 574 void SetStatementPosition(Statement* stmt); |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 | 944 |
943 Address start_; | 945 Address start_; |
944 Address instruction_start_; | 946 Address instruction_start_; |
945 uint32_t length_; | 947 uint32_t length_; |
946 }; | 948 }; |
947 | 949 |
948 | 950 |
949 } } // namespace v8::internal | 951 } } // namespace v8::internal |
950 | 952 |
951 #endif // V8_FULL_CODEGEN_H_ | 953 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |