| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); | 479 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); |
| 480 | 480 |
| 481 void EmitInlineRuntimeCall(CallRuntime* expr); | 481 void EmitInlineRuntimeCall(CallRuntime* expr); |
| 482 | 482 |
| 483 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ | 483 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ |
| 484 void Emit##name(CallRuntime* expr); | 484 void Emit##name(CallRuntime* expr); |
| 485 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) | 485 INLINE_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) |
| 486 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) | 486 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) |
| 487 #undef EMIT_INLINE_RUNTIME_CALL | 487 #undef EMIT_INLINE_RUNTIME_CALL |
| 488 | 488 |
| 489 // Platform-specific code for resuming generators. |
| 490 void EmitGeneratorResume(Expression *generator, |
| 491 Expression *value, |
| 492 JSGeneratorObject::ResumeMode resume_mode); |
| 493 |
| 489 // Platform-specific code for loading variables. | 494 // Platform-specific code for loading variables. |
| 490 void EmitLoadGlobalCheckExtensions(Variable* var, | 495 void EmitLoadGlobalCheckExtensions(Variable* var, |
| 491 TypeofState typeof_state, | 496 TypeofState typeof_state, |
| 492 Label* slow); | 497 Label* slow); |
| 493 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow); | 498 MemOperand ContextSlotOperandCheckExtensions(Variable* var, Label* slow); |
| 494 void EmitDynamicLookupFastCase(Variable* var, | 499 void EmitDynamicLookupFastCase(Variable* var, |
| 495 TypeofState typeof_state, | 500 TypeofState typeof_state, |
| 496 Label* slow, | 501 Label* slow, |
| 497 Label* done); | 502 Label* done); |
| 498 void EmitVariableLoad(VariableProxy* proxy); | 503 void EmitVariableLoad(VariableProxy* proxy); |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 858 } | 863 } |
| 859 | 864 |
| 860 private: | 865 private: |
| 861 Zone* zone_; | 866 Zone* zone_; |
| 862 }; | 867 }; |
| 863 | 868 |
| 864 | 869 |
| 865 } } // namespace v8::internal | 870 } } // namespace v8::internal |
| 866 | 871 |
| 867 #endif // V8_FULL_CODEGEN_H_ | 872 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |