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

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

Issue 506050: - Undo unfortunate renaming of StaticType. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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.h ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 // look like an explicit property access, instead of an access 427 // look like an explicit property access, instead of an access
428 // through the context chain. 428 // through the context chain.
429 void LoadTypeofExpression(Expression* x); 429 void LoadTypeofExpression(Expression* x);
430 430
431 // Translate the value on top of the frame into control flow to the 431 // Translate the value on top of the frame into control flow to the
432 // control destination. 432 // control destination.
433 void ToBoolean(ControlDestination* destination); 433 void ToBoolean(ControlDestination* destination);
434 434
435 void GenericBinaryOperation( 435 void GenericBinaryOperation(
436 Token::Value op, 436 Token::Value op,
437 SmiAnalysis* type, 437 StaticType* type,
438 OverwriteMode overwrite_mode); 438 OverwriteMode overwrite_mode);
439 439
440 // If possible, combine two constant smi values using op to produce 440 // If possible, combine two constant smi values using op to produce
441 // a smi result, and push it on the virtual frame, all at compile time. 441 // a smi result, and push it on the virtual frame, all at compile time.
442 // Returns true if it succeeds. Otherwise it has no effect. 442 // Returns true if it succeeds. Otherwise it has no effect.
443 bool FoldConstantSmis(Token::Value op, int left, int right); 443 bool FoldConstantSmis(Token::Value op, int left, int right);
444 444
445 // Emit code to perform a binary operation on a constant 445 // Emit code to perform a binary operation on a constant
446 // smi and a likely smi. Consumes the Result *operand. 446 // smi and a likely smi. Consumes the Result *operand.
447 void ConstantSmiBinaryOperation(Token::Value op, 447 void ConstantSmiBinaryOperation(Token::Value op,
448 Result* operand, 448 Result* operand,
449 Handle<Object> constant_operand, 449 Handle<Object> constant_operand,
450 SmiAnalysis* type, 450 StaticType* type,
451 bool reversed, 451 bool reversed,
452 OverwriteMode overwrite_mode); 452 OverwriteMode overwrite_mode);
453 453
454 // Emit code to perform a binary operation on two likely smis. 454 // Emit code to perform a binary operation on two likely smis.
455 // The code to handle smi arguments is produced inline. 455 // The code to handle smi arguments is produced inline.
456 // Consumes the Results *left and *right. 456 // Consumes the Results *left and *right.
457 void LikelySmiBinaryOperation(Token::Value op, 457 void LikelySmiBinaryOperation(Token::Value op,
458 Result* left, 458 Result* left,
459 Result* right, 459 Result* right,
460 OverwriteMode overwrite_mode); 460 OverwriteMode overwrite_mode);
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 bool ascii); 769 bool ascii);
770 770
771 // Should the stub check whether arguments are strings? 771 // Should the stub check whether arguments are strings?
772 bool string_check_; 772 bool string_check_;
773 }; 773 };
774 774
775 775
776 } } // namespace v8::internal 776 } } // namespace v8::internal
777 777
778 #endif // V8_IA32_CODEGEN_IA32_H_ 778 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« 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