OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 | 377 |
378 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ | 378 #define EMIT_INLINE_RUNTIME_CALL(name, x, y) \ |
379 void Emit##name(ZoneList<Expression*>* arguments); | 379 void Emit##name(ZoneList<Expression*>* arguments); |
380 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) | 380 INLINE_RUNTIME_FUNCTION_LIST(EMIT_INLINE_RUNTIME_CALL) |
381 #undef EMIT_INLINE_RUNTIME_CALL | 381 #undef EMIT_INLINE_RUNTIME_CALL |
382 | 382 |
383 // Platform-specific code for loading variables. | 383 // Platform-specific code for loading variables. |
384 void EmitLoadGlobalSlotCheckExtensions(Slot* slot, | 384 void EmitLoadGlobalSlotCheckExtensions(Slot* slot, |
385 TypeofState typeof_state, | 385 TypeofState typeof_state, |
386 Label* slow); | 386 Label* slow); |
| 387 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, Label* slow); |
| 388 void EmitDynamicLoadFromSlotFastCase(Slot* slot, |
| 389 TypeofState typeof_state, |
| 390 Label* slow, |
| 391 Label* done); |
387 void EmitVariableLoad(Variable* expr, Expression::Context context); | 392 void EmitVariableLoad(Variable* expr, Expression::Context context); |
388 | 393 |
389 // Platform-specific support for allocating a new closure based on | 394 // Platform-specific support for allocating a new closure based on |
390 // the given function info. | 395 // the given function info. |
391 void EmitNewClosure(Handle<SharedFunctionInfo> info); | 396 void EmitNewClosure(Handle<SharedFunctionInfo> info); |
392 | 397 |
393 // Platform-specific support for compiling assignments. | 398 // Platform-specific support for compiling assignments. |
394 | 399 |
395 // Load a value from a named property. | 400 // Load a value from a named property. |
396 // The receiver is left on the stack by the IC. | 401 // The receiver is left on the stack by the IC. |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 | 541 |
537 friend class NestedStatement; | 542 friend class NestedStatement; |
538 | 543 |
539 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); | 544 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); |
540 }; | 545 }; |
541 | 546 |
542 | 547 |
543 } } // namespace v8::internal | 548 } } // namespace v8::internal |
544 | 549 |
545 #endif // V8_FULL_CODEGEN_H_ | 550 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |