OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 | 437 |
438 // Platform-specific code for loading variables. | 438 // Platform-specific code for loading variables. |
439 void EmitLoadGlobalSlotCheckExtensions(Slot* slot, | 439 void EmitLoadGlobalSlotCheckExtensions(Slot* slot, |
440 TypeofState typeof_state, | 440 TypeofState typeof_state, |
441 Label* slow); | 441 Label* slow); |
442 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, Label* slow); | 442 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, Label* slow); |
443 void EmitDynamicLoadFromSlotFastCase(Slot* slot, | 443 void EmitDynamicLoadFromSlotFastCase(Slot* slot, |
444 TypeofState typeof_state, | 444 TypeofState typeof_state, |
445 Label* slow, | 445 Label* slow, |
446 Label* done); | 446 Label* done); |
447 void EmitVariableLoad(Variable* expr); | 447 void EmitVariableLoad(VariableProxy* proxy); |
448 | 448 |
449 enum ResolveEvalFlag { | 449 enum ResolveEvalFlag { |
450 SKIP_CONTEXT_LOOKUP, | 450 SKIP_CONTEXT_LOOKUP, |
451 PERFORM_CONTEXT_LOOKUP | 451 PERFORM_CONTEXT_LOOKUP |
452 }; | 452 }; |
453 | 453 |
454 // Expects the arguments and the function already pushed. | 454 // Expects the arguments and the function already pushed. |
455 void EmitResolvePossiblyDirectEval(ResolveEvalFlag flag, int arg_count); | 455 void EmitResolvePossiblyDirectEval(ResolveEvalFlag flag, int arg_count); |
456 | 456 |
457 // Platform-specific support for allocating a new closure based on | 457 // Platform-specific support for allocating a new closure based on |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 | 759 |
760 friend class NestedStatement; | 760 friend class NestedStatement; |
761 | 761 |
762 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); | 762 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); |
763 }; | 763 }; |
764 | 764 |
765 | 765 |
766 } } // namespace v8::internal | 766 } } // namespace v8::internal |
767 | 767 |
768 #endif // V8_FULL_CODEGEN_H_ | 768 #endif // V8_FULL_CODEGEN_H_ |
OLD | NEW |