| 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 // Platform-specific support for allocating a new closure based on | 514 // Platform-specific support for allocating a new closure based on |
| 515 // the given function info. | 515 // the given function info. |
| 516 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); | 516 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); |
| 517 | 517 |
| 518 // Platform-specific support for compiling assignments. | 518 // Platform-specific support for compiling assignments. |
| 519 | 519 |
| 520 // Load a value from a named property. | 520 // Load a value from a named property. |
| 521 // The receiver is left on the stack by the IC. | 521 // The receiver is left on the stack by the IC. |
| 522 void EmitNamedPropertyLoad(Property* expr); | 522 void EmitNamedPropertyLoad(Property* expr); |
| 523 | 523 |
| 524 // Load a value from super.named prroperty. | 524 // Load a value from super.named property. |
| 525 // Expect receiver ('this' value) and home_object on the stack. | 525 // Expect receiver ('this' value) and home_object on the stack. |
| 526 void EmitNamedSuperPropertyLoad(Property* expr); | 526 void EmitNamedSuperPropertyLoad(Property* expr); |
| 527 | 527 |
| 528 // Load a value from a keyed property. | 528 // Load a value from a keyed property. |
| 529 // The receiver and the key is left on the stack by the IC. | 529 // The receiver and the key is left on the stack by the IC. |
| 530 void EmitKeyedPropertyLoad(Property* expr); | 530 void EmitKeyedPropertyLoad(Property* expr); |
| 531 | 531 |
| 532 // Apply the compound assignment operator. Expects the left operand on top | 532 // Apply the compound assignment operator. Expects the left operand on top |
| 533 // of the stack and the right one in the accumulator. | 533 // of the stack and the right one in the accumulator. |
| 534 void EmitBinaryOp(BinaryOperation* expr, | 534 void EmitBinaryOp(BinaryOperation* expr, |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 953 | 953 |
| 954 Address start_; | 954 Address start_; |
| 955 Address instruction_start_; | 955 Address instruction_start_; |
| 956 uint32_t length_; | 956 uint32_t length_; |
| 957 }; | 957 }; |
| 958 | 958 |
| 959 | 959 |
| 960 } } // namespace v8::internal | 960 } } // namespace v8::internal |
| 961 | 961 |
| 962 #endif // V8_FULL_CODEGEN_H_ | 962 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |