| 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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 void EmitResolvePossiblyDirectEval(int arg_count); | 587 void EmitResolvePossiblyDirectEval(int arg_count); |
| 588 | 588 |
| 589 // Platform-specific support for allocating a new closure based on | 589 // Platform-specific support for allocating a new closure based on |
| 590 // the given function info. | 590 // the given function info. |
| 591 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); | 591 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); |
| 592 | 592 |
| 593 // Re-usable portions of CallRuntime | 593 // Re-usable portions of CallRuntime |
| 594 void EmitLoadJSRuntimeFunction(CallRuntime* expr); | 594 void EmitLoadJSRuntimeFunction(CallRuntime* expr); |
| 595 void EmitCallJSRuntimeFunction(CallRuntime* expr); | 595 void EmitCallJSRuntimeFunction(CallRuntime* expr); |
| 596 | 596 |
| 597 void EmitInitializeOptionalParameters(Scope* scope, FunctionLiteral* fn); |
| 598 |
| 597 // Platform-specific support for compiling assignments. | 599 // Platform-specific support for compiling assignments. |
| 598 | 600 |
| 599 // Left-hand side can only be a property, a global or a (parameter or local) | 601 // Left-hand side can only be a property, a global or a (parameter or local) |
| 600 // slot. | 602 // slot. |
| 601 enum LhsKind { | 603 enum LhsKind { |
| 602 VARIABLE, | 604 VARIABLE, |
| 603 NAMED_PROPERTY, | 605 NAMED_PROPERTY, |
| 604 KEYED_PROPERTY, | 606 KEYED_PROPERTY, |
| 605 NAMED_SUPER_PROPERTY, | 607 NAMED_SUPER_PROPERTY, |
| 606 KEYED_SUPER_PROPERTY | 608 KEYED_SUPER_PROPERTY |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1098 | 1100 |
| 1099 Address start_; | 1101 Address start_; |
| 1100 Address instruction_start_; | 1102 Address instruction_start_; |
| 1101 uint32_t length_; | 1103 uint32_t length_; |
| 1102 }; | 1104 }; |
| 1103 | 1105 |
| 1104 | 1106 |
| 1105 } } // namespace v8::internal | 1107 } } // namespace v8::internal |
| 1106 | 1108 |
| 1107 #endif // V8_FULL_CODEGEN_H_ | 1109 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |