| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 | 478 |
| 479 // Emit code to pop values from the stack associated with nested statements | 479 // Emit code to pop values from the stack associated with nested statements |
| 480 // like try/catch, try/finally, etc, running the finallies and unwinding the | 480 // like try/catch, try/finally, etc, running the finallies and unwinding the |
| 481 // handlers as needed. | 481 // handlers as needed. |
| 482 void EmitUnwindBeforeReturn(); | 482 void EmitUnwindBeforeReturn(); |
| 483 | 483 |
| 484 // Platform-specific return sequence | 484 // Platform-specific return sequence |
| 485 void EmitReturnSequence(); | 485 void EmitReturnSequence(); |
| 486 | 486 |
| 487 // Platform-specific code sequences for calls | 487 // Platform-specific code sequences for calls |
| 488 void EmitCallWithStub(Call* expr, CallFunctionFlags flags); | 488 void EmitCallWithStub(Call* expr); |
| 489 void EmitCallWithIC(Call* expr, Handle<Object> name, ContextualMode mode); | 489 void EmitCallWithIC(Call* expr, Handle<Object> name, ContextualMode mode); |
| 490 void EmitKeyedCallWithIC(Call* expr, Expression* key); | 490 void EmitKeyedCallWithIC(Call* expr, Expression* key); |
| 491 | 491 |
| 492 // Platform-specific code for inline runtime calls. | 492 // Platform-specific code for inline runtime calls. |
| 493 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); | 493 InlineFunctionGenerator FindInlineFunctionGenerator(Runtime::FunctionId id); |
| 494 | 494 |
| 495 void EmitInlineRuntimeCall(CallRuntime* expr); | 495 void EmitInlineRuntimeCall(CallRuntime* expr); |
| 496 | 496 |
| 497 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ | 497 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ |
| 498 void Emit##name(CallRuntime* expr); | 498 void Emit##name(CallRuntime* expr); |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 | 970 |
| 971 Address start_; | 971 Address start_; |
| 972 Address instruction_start_; | 972 Address instruction_start_; |
| 973 uint32_t length_; | 973 uint32_t length_; |
| 974 }; | 974 }; |
| 975 | 975 |
| 976 | 976 |
| 977 } } // namespace v8::internal | 977 } } // namespace v8::internal |
| 978 | 978 |
| 979 #endif // V8_FULL_CODEGEN_H_ | 979 #endif // V8_FULL_CODEGEN_H_ |
| OLD | NEW |