Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: src/full-codegen.h

Issue 5682010: Deoptimize to the proper target after assignment side effects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge/build/ia32
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ast-inl.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 bool left_is_constant_smi, 477 bool left_is_constant_smi,
478 Smi* value); 478 Smi* value);
479 479
480 void EmitConstantSmiSub(Expression* expr, 480 void EmitConstantSmiSub(Expression* expr,
481 OverwriteMode mode, 481 OverwriteMode mode,
482 bool left_is_constant_smi, 482 bool left_is_constant_smi,
483 Smi* value); 483 Smi* value);
484 484
485 // Assign to the given expression as if via '='. The right-hand-side value 485 // Assign to the given expression as if via '='. The right-hand-side value
486 // is expected in the accumulator. 486 // is expected in the accumulator.
487 void EmitAssignment(Expression* expr); 487 void EmitAssignment(Expression* expr, int bailout_ast_id);
488 488
489 // Complete a variable assignment. The right-hand-side value is expected 489 // Complete a variable assignment. The right-hand-side value is expected
490 // in the accumulator. 490 // in the accumulator.
491 void EmitVariableAssignment(Variable* var, 491 void EmitVariableAssignment(Variable* var,
492 Token::Value op); 492 Token::Value op);
493 493
494 // Complete a named property assignment. The receiver is expected on top 494 // Complete a named property assignment. The receiver is expected on top
495 // of the stack and the right-hand-side value in the accumulator. 495 // of the stack and the right-hand-side value in the accumulator.
496 void EmitNamedPropertyAssignment(Assignment* expr); 496 void EmitNamedPropertyAssignment(Assignment* expr);
497 497
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 763
764 friend class NestedStatement; 764 friend class NestedStatement;
765 765
766 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); 766 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator);
767 }; 767 };
768 768
769 769
770 } } // namespace v8::internal 770 } } // namespace v8::internal
771 771
772 #endif // V8_FULL_CODEGEN_H_ 772 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/ast-inl.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698