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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 Label* slow); | 341 Label* slow); |
342 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, Label* slow); | 342 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, Label* slow); |
343 void EmitDynamicLoadFromSlotFastCase(Slot* slot, | 343 void EmitDynamicLoadFromSlotFastCase(Slot* slot, |
344 TypeofState typeof_state, | 344 TypeofState typeof_state, |
345 Label* slow, | 345 Label* slow, |
346 Label* done); | 346 Label* done); |
347 void EmitVariableLoad(Variable* expr); | 347 void EmitVariableLoad(Variable* expr); |
348 | 348 |
349 // Platform-specific support for allocating a new closure based on | 349 // Platform-specific support for allocating a new closure based on |
350 // the given function info. | 350 // the given function info. |
351 void EmitNewClosure(Handle<SharedFunctionInfo> info); | 351 void EmitNewClosure(Handle<SharedFunctionInfo> info, bool pretenure); |
352 | 352 |
353 // Platform-specific support for compiling assignments. | 353 // Platform-specific support for compiling assignments. |
354 | 354 |
355 // Load a value from a named property. | 355 // Load a value from a named property. |
356 // The receiver is left on the stack by the IC. | 356 // The receiver is left on the stack by the IC. |
357 void EmitNamedPropertyLoad(Property* expr); | 357 void EmitNamedPropertyLoad(Property* expr); |
358 | 358 |
359 // Load a value from a keyed property. | 359 // Load a value from a keyed property. |
360 // The receiver and the key is left on the stack by the IC. | 360 // The receiver and the key is left on the stack by the IC. |
361 void EmitKeyedPropertyLoad(Property* expr); | 361 void EmitKeyedPropertyLoad(Property* expr); |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 | 664 |
665 friend class NestedStatement; | 665 friend class NestedStatement; |
666 | 666 |
667 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); | 667 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); |
668 }; | 668 }; |
669 | 669 |
670 | 670 |
671 } } // namespace v8::internal | 671 } } // namespace v8::internal |
672 | 672 |
673 #endif // V8_FULL_CODEGEN_H_ | 673 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |