| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 void Emit##name(CallRuntime* expr); | 478 void Emit##name(CallRuntime* expr); |
| 479 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) | 479 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) |
| 480 #undef EMIT_INLINE_RUNTIME_CALL | 480 #undef EMIT_INLINE_RUNTIME_CALL |
| 481 | 481 |
| 482 // Platform-specific code for resuming generators. | 482 // Platform-specific code for resuming generators. |
| 483 void EmitGeneratorResume(Expression *generator, | 483 void EmitGeneratorResume(Expression *generator, |
| 484 Expression *value, | 484 Expression *value, |
| 485 JSGeneratorObject::ResumeMode resume_mode); | 485 JSGeneratorObject::ResumeMode resume_mode); |
| 486 | 486 |
| 487 // Platform-specific code for loading variables. | 487 // Platform-specific code for loading variables. |
| 488 void EmitLoadGlobalCheckExtensions(Variable* var, | 488 void EmitLoadGlobalCheckExtensions(VariableProxy* proxy, |
| 489 TypeofState typeof_state, | 489 TypeofState typeof_state, |
| 490 Label* slow); | 490 Label* slow); |
| 491 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow); | 491 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow); |
| 492 void EmitDynamicLookupFastCase(Variable* var, | 492 void EmitDynamicLookupFastCase(VariableProxy* proxy, |
| 493 TypeofState typeof_state, | 493 TypeofState typeof_state, |
| 494 Label* slow, | 494 Label* slow, |
| 495 Label* done); | 495 Label* done); |
| 496 void EmitVariableLoad(VariableProxy* proxy); | 496 void EmitVariableLoad(VariableProxy* proxy); |
| 497 | 497 |
| 498 void EmitAccessor(Expression* expression); | 498 void EmitAccessor(Expression* expression); |
| 499 | 499 |
| 500 // Expects the arguments and the function already pushed. | 500 // Expects the arguments and the function already pushed. |
| 501 void EmitResolvePossiblyDirectEval(int arg_count); | 501 void EmitResolvePossiblyDirectEval(int arg_count); |
| 502 | 502 |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 | 933 |
| 934 Address start_; | 934 Address start_; |
| 935 Address instruction_start_; | 935 Address instruction_start_; |
| 936 uint32_t length_; | 936 uint32_t length_; |
| 937 }; | 937 }; |
| 938 | 938 |
| 939 | 939 |
| 940 } } // namespace v8::internal | 940 } } // namespace v8::internal |
| 941 | 941 |
| 942 #endif // V8_FULL_CODEGEN_H_ | 942 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |