| 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 404                                 Label* if_false, | 404                                 Label* if_false, | 
| 405                                 Label* fall_through); | 405                                 Label* fall_through); | 
| 406 | 406 | 
| 407   // Platform-specific code for strict equality comparison with | 407   // Platform-specific code for strict equality comparison with | 
| 408   // the undefined value. | 408   // the undefined value. | 
| 409   void EmitLiteralCompareUndefined(Expression* expr, | 409   void EmitLiteralCompareUndefined(Expression* expr, | 
| 410                                    Label* if_true, | 410                                    Label* if_true, | 
| 411                                    Label* if_false, | 411                                    Label* if_false, | 
| 412                                    Label* fall_through); | 412                                    Label* fall_through); | 
| 413 | 413 | 
|  | 414   // Platform-specific code for equality comparison with the null value. | 
|  | 415   void EmitLiteralCompareNull(Expression* expr, | 
|  | 416                               bool is_strict, | 
|  | 417                               Label* if_true, | 
|  | 418                               Label* if_false, | 
|  | 419                               Label* fall_through); | 
| 414   // Bailout support. | 420   // Bailout support. | 
| 415   void PrepareForBailout(Expression* node, State state); | 421   void PrepareForBailout(Expression* node, State state); | 
| 416   void PrepareForBailoutForId(int id, State state); | 422   void PrepareForBailoutForId(int id, State state); | 
| 417 | 423 | 
| 418   // Record a call's return site offset, used to rebuild the frame if the | 424   // Record a call's return site offset, used to rebuild the frame if the | 
| 419   // called function was inlined at the site. | 425   // called function was inlined at the site. | 
| 420   void RecordJSReturnSite(Call* call); | 426   void RecordJSReturnSite(Call* call); | 
| 421 | 427 | 
| 422   // Prepare for bailout before a test (or compare) and branch.  If | 428   // Prepare for bailout before a test (or compare) and branch.  If | 
| 423   // should_normalize, then the following comparison will not handle the | 429   // should_normalize, then the following comparison will not handle the | 
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 833 | 839 | 
| 834   friend class NestedStatement; | 840   friend class NestedStatement; | 
| 835 | 841 | 
| 836   DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); | 842   DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); | 
| 837 }; | 843 }; | 
| 838 | 844 | 
| 839 | 845 | 
| 840 } }  // namespace v8::internal | 846 } }  // namespace v8::internal | 
| 841 | 847 | 
| 842 #endif  // V8_FULL_CODEGEN_H_ | 848 #endif  // V8_FULL_CODEGEN_H_ | 
| OLD | NEW | 
|---|