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

Unified Diff: src/ia32/codegen-ia32.h

Issue 965001: Add static analysis to AST expressions that records whether a negative zero w... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ast.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/codegen-ia32.h
===================================================================
--- src/ia32/codegen-ia32.h (revision 4129)
+++ src/ia32/codegen-ia32.h (working copy)
@@ -469,7 +469,8 @@
void GenericBinaryOperation(
Token::Value op,
StaticType* type,
- OverwriteMode overwrite_mode);
+ OverwriteMode overwrite_mode,
+ bool no_negative_zero);
// If possible, combine two constant smi values using op to produce
// a smi result, and push it on the virtual frame, all at compile time.
@@ -483,7 +484,8 @@
Handle<Object> constant_operand,
StaticType* type,
bool reversed,
- OverwriteMode overwrite_mode);
+ OverwriteMode overwrite_mode,
+ bool no_negative_zero);
// Emit code to perform a binary operation on two likely smis.
// The code to handle smi arguments is produced inline.
@@ -491,7 +493,8 @@
Result LikelySmiBinaryOperation(Token::Value op,
Result* left,
Result* right,
- OverwriteMode overwrite_mode);
+ OverwriteMode overwrite_mode,
+ bool no_negative_zero);
void Comparison(AstNode* node,
Condition cc,
« no previous file with comments | « src/ast.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698