| 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 | 496 |
| 497 // Platform-specific code for loading variables. | 497 // Platform-specific code for loading variables. |
| 498 void EmitLoadGlobalCheckExtensions(VariableProxy* proxy, | 498 void EmitLoadGlobalCheckExtensions(VariableProxy* proxy, |
| 499 TypeofState typeof_state, | 499 TypeofState typeof_state, |
| 500 Label* slow); | 500 Label* slow); |
| 501 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow); | 501 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow); |
| 502 void EmitDynamicLookupFastCase(VariableProxy* proxy, | 502 void EmitDynamicLookupFastCase(VariableProxy* proxy, |
| 503 TypeofState typeof_state, | 503 TypeofState typeof_state, |
| 504 Label* slow, | 504 Label* slow, |
| 505 Label* done); | 505 Label* done); |
| 506 |
| 506 void EmitVariableLoad(VariableProxy* proxy); | 507 void EmitVariableLoad(VariableProxy* proxy); |
| 507 | 508 |
| 508 void EmitAccessor(Expression* expression); | 509 void EmitAccessor(Expression* expression); |
| 509 | 510 |
| 510 // Expects the arguments and the function already pushed. | 511 // Expects the arguments and the function already pushed. |
| 511 void EmitResolvePossiblyDirectEval(int arg_count); | 512 void EmitResolvePossiblyDirectEval(int arg_count); |
| 512 | 513 |
| 513 // Platform-specific support for allocating a new closure based on | 514 // Platform-specific support for allocating a new closure based on |
| 514 // the given function info. | 515 // the given function info. |
| 515 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); | 516 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 | 943 |
| 943 Address start_; | 944 Address start_; |
| 944 Address instruction_start_; | 945 Address instruction_start_; |
| 945 uint32_t length_; | 946 uint32_t length_; |
| 946 }; | 947 }; |
| 947 | 948 |
| 948 | 949 |
| 949 } } // namespace v8::internal | 950 } } // namespace v8::internal |
| 950 | 951 |
| 951 #endif // V8_FULL_CODEGEN_H_ | 952 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |