| 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 CallIC(Handle<Code> code, | 563 void CallIC(Handle<Code> code, |
| 564 TypeFeedbackId id = TypeFeedbackId::None()); | 564 TypeFeedbackId id = TypeFeedbackId::None()); |
| 565 | 565 |
| 566 void CallLoadIC(ContextualMode mode, | 566 void CallLoadIC(ContextualMode mode, |
| 567 LoadIC::PropertyLookupMode property_lookup_mode = LoadIC::NORM
AL_LOOKUP, |
| 567 TypeFeedbackId id = TypeFeedbackId::None()); | 568 TypeFeedbackId id = TypeFeedbackId::None()); |
| 569 void CallKeyedLoadIC(LoadIC::PropertyLookupMode property_lookup_mode, |
| 570 TypeFeedbackId id = TypeFeedbackId::None()); |
| 568 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); | 571 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); |
| 569 | 572 |
| 570 void SetFunctionPosition(FunctionLiteral* fun); | 573 void SetFunctionPosition(FunctionLiteral* fun); |
| 571 void SetReturnPosition(FunctionLiteral* fun); | 574 void SetReturnPosition(FunctionLiteral* fun); |
| 572 void SetStatementPosition(Statement* stmt); | 575 void SetStatementPosition(Statement* stmt); |
| 573 void SetExpressionPosition(Expression* expr); | 576 void SetExpressionPosition(Expression* expr); |
| 574 void SetSourcePosition(int pos); | 577 void SetSourcePosition(int pos); |
| 575 | 578 |
| 576 // Non-local control flow support. | 579 // Non-local control flow support. |
| 577 void EnterFinallyBlock(); | 580 void EnterFinallyBlock(); |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 | 945 |
| 943 Address start_; | 946 Address start_; |
| 944 Address instruction_start_; | 947 Address instruction_start_; |
| 945 uint32_t length_; | 948 uint32_t length_; |
| 946 }; | 949 }; |
| 947 | 950 |
| 948 | 951 |
| 949 } } // namespace v8::internal | 952 } } // namespace v8::internal |
| 950 | 953 |
| 951 #endif // V8_FULL_CODEGEN_H_ | 954 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |