| 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 void Emit##name(CallRuntime* expr); | 488 void Emit##name(CallRuntime* expr); |
| 489 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) | 489 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) |
| 490 #undef EMIT_INLINE_RUNTIME_CALL | 490 #undef EMIT_INLINE_RUNTIME_CALL |
| 491 | 491 |
| 492 // Platform-specific code for resuming generators. | 492 // Platform-specific code for resuming generators. |
| 493 void EmitGeneratorResume(Expression *generator, | 493 void EmitGeneratorResume(Expression *generator, |
| 494 Expression *value, | 494 Expression *value, |
| 495 JSGeneratorObject::ResumeMode resume_mode); | 495 JSGeneratorObject::ResumeMode resume_mode); |
| 496 | 496 |
| 497 // Platform-specific code for loading variables. | 497 // Platform-specific code for loading variables. |
| 498 void EmitLoadGlobalCheckExtensions(Variable* var, | 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(Variable* var, | 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 void EmitVariableLoad(VariableProxy* proxy); | 506 void EmitVariableLoad(VariableProxy* proxy); |
| 507 | 507 |
| 508 void EmitAccessor(Expression* expression); | 508 void EmitAccessor(Expression* expression); |
| 509 | 509 |
| 510 // Expects the arguments and the function already pushed. | 510 // Expects the arguments and the function already pushed. |
| 511 void EmitResolvePossiblyDirectEval(int arg_count); | 511 void EmitResolvePossiblyDirectEval(int arg_count); |
| 512 | 512 |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 | 942 |
| 943 Address start_; | 943 Address start_; |
| 944 Address instruction_start_; | 944 Address instruction_start_; |
| 945 uint32_t length_; | 945 uint32_t length_; |
| 946 }; | 946 }; |
| 947 | 947 |
| 948 | 948 |
| 949 } } // namespace v8::internal | 949 } } // namespace v8::internal |
| 950 | 950 |
| 951 #endif // V8_FULL_CODEGEN_H_ | 951 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |