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

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

Issue 3169049: Remove dependence of code-stubs on codegen, the virtual frame code generator.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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/ia32/code-stubs-ia32.cc ('k') | src/ia32/codegen-ia32.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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 Result* left, 567 Result* left,
568 Result* right, 568 Result* right,
569 OverwriteMode overwrite_mode); 569 OverwriteMode overwrite_mode);
570 570
571 571
572 // Emit code to perform a binary operation on two untagged int32 values. 572 // Emit code to perform a binary operation on two untagged int32 values.
573 // The values are on top of the frame, and the result is pushed on the frame. 573 // The values are on top of the frame, and the result is pushed on the frame.
574 void Int32BinaryOperation(BinaryOperation* node); 574 void Int32BinaryOperation(BinaryOperation* node);
575 575
576 576
577 // Generate a stub call from the virtual frame.
578 Result GenerateGenericBinaryOpStubCall(GenericBinaryOpStub* stub,
579 Result* left,
580 Result* right);
581
577 void Comparison(AstNode* node, 582 void Comparison(AstNode* node,
578 Condition cc, 583 Condition cc,
579 bool strict, 584 bool strict,
580 ControlDestination* destination); 585 ControlDestination* destination);
581 586
582 // If at least one of the sides is a constant smi, generate optimized code. 587 // If at least one of the sides is a constant smi, generate optimized code.
583 void ConstantSmiComparison(Condition cc, 588 void ConstantSmiComparison(Condition cc,
584 bool strict, 589 bool strict,
585 ControlDestination* destination, 590 ControlDestination* destination,
586 Result* left_side, 591 Result* left_side,
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 807
803 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc 808 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc
804 809
805 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 810 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
806 }; 811 };
807 812
808 813
809 } } // namespace v8::internal 814 } } // namespace v8::internal
810 815
811 #endif // V8_IA32_CODEGEN_IA32_H_ 816 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698