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

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

Issue 23537038: Remove override mode from BinaryOpStub (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 months 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/code-stubs.cc ('k') | src/full-codegen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 // The receiver is left on the stack by the IC. 592 // The receiver is left on the stack by the IC.
593 void EmitNamedPropertyLoad(Property* expr); 593 void EmitNamedPropertyLoad(Property* expr);
594 594
595 // Load a value from a keyed property. 595 // Load a value from a keyed property.
596 // The receiver and the key is left on the stack by the IC. 596 // The receiver and the key is left on the stack by the IC.
597 void EmitKeyedPropertyLoad(Property* expr); 597 void EmitKeyedPropertyLoad(Property* expr);
598 598
599 // Apply the compound assignment operator. Expects the left operand on top 599 // Apply the compound assignment operator. Expects the left operand on top
600 // of the stack and the right one in the accumulator. 600 // of the stack and the right one in the accumulator.
601 void EmitBinaryOp(BinaryOperation* expr, 601 void EmitBinaryOp(BinaryOperation* expr,
602 Token::Value op, 602 Token::Value op);
603 OverwriteMode mode);
604 603
605 // Helper functions for generating inlined smi code for certain 604 // Helper functions for generating inlined smi code for certain
606 // binary operations. 605 // binary operations.
607 void EmitInlineSmiBinaryOp(BinaryOperation* expr, 606 void EmitInlineSmiBinaryOp(BinaryOperation* expr,
608 Token::Value op, 607 Token::Value op,
609 OverwriteMode mode,
610 Expression* left, 608 Expression* left,
611 Expression* right); 609 Expression* right);
612 610
613 // Assign to the given expression as if via '='. The right-hand-side value 611 // Assign to the given expression as if via '='. The right-hand-side value
614 // is expected in the accumulator. 612 // is expected in the accumulator.
615 void EmitAssignment(Expression* expr); 613 void EmitAssignment(Expression* expr);
616 614
617 // Complete a variable assignment. The right-hand-side value is expected 615 // Complete a variable assignment. The right-hand-side value is expected
618 // in the accumulator. 616 // in the accumulator.
619 void EmitVariableAssignment(Variable* var, 617 void EmitVariableAssignment(Variable* var,
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 } 934 }
937 935
938 private: 936 private:
939 Zone* zone_; 937 Zone* zone_;
940 }; 938 };
941 939
942 940
943 } } // namespace v8::internal 941 } } // namespace v8::internal
944 942
945 #endif // V8_FULL_CODEGEN_H_ 943 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698