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

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

Issue 500089: - Fix x64 build. (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 | « no previous file | src/x64/codegen-x64.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 // look like an explicit property access, instead of an access 429 // look like an explicit property access, instead of an access
430 // through the context chain. 430 // through the context chain.
431 void LoadTypeofExpression(Expression* x); 431 void LoadTypeofExpression(Expression* x);
432 432
433 // Translate the value on top of the frame into control flow to the 433 // Translate the value on top of the frame into control flow to the
434 // control destination. 434 // control destination.
435 void ToBoolean(ControlDestination* destination); 435 void ToBoolean(ControlDestination* destination);
436 436
437 void GenericBinaryOperation( 437 void GenericBinaryOperation(
438 Token::Value op, 438 Token::Value op,
439 SmiAnalysis* type, 439 StaticType* type,
440 OverwriteMode overwrite_mode); 440 OverwriteMode overwrite_mode);
441 441
442 // If possible, combine two constant smi values using op to produce 442 // If possible, combine two constant smi values using op to produce
443 // a smi result, and push it on the virtual frame, all at compile time. 443 // a smi result, and push it on the virtual frame, all at compile time.
444 // Returns true if it succeeds. Otherwise it has no effect. 444 // Returns true if it succeeds. Otherwise it has no effect.
445 bool FoldConstantSmis(Token::Value op, int left, int right); 445 bool FoldConstantSmis(Token::Value op, int left, int right);
446 446
447 // Emit code to perform a binary operation on a constant 447 // Emit code to perform a binary operation on a constant
448 // smi and a likely smi. Consumes the Result *operand. 448 // smi and a likely smi. Consumes the Result *operand.
449 void ConstantSmiBinaryOperation(Token::Value op, 449 void ConstantSmiBinaryOperation(Token::Value op,
450 Result* operand, 450 Result* operand,
451 Handle<Object> constant_operand, 451 Handle<Object> constant_operand,
452 SmiAnalysis* type, 452 StaticType* type,
453 bool reversed, 453 bool reversed,
454 OverwriteMode overwrite_mode); 454 OverwriteMode overwrite_mode);
455 455
456 // Emit code to perform a binary operation on two likely smis. 456 // Emit code to perform a binary operation on two likely smis.
457 // The code to handle smi arguments is produced inline. 457 // The code to handle smi arguments is produced inline.
458 // Consumes the Results *left and *right. 458 // Consumes the Results *left and *right.
459 void LikelySmiBinaryOperation(Token::Value op, 459 void LikelySmiBinaryOperation(Token::Value op,
460 Result* left, 460 Result* left,
461 Result* right, 461 Result* right,
462 OverwriteMode overwrite_mode); 462 OverwriteMode overwrite_mode);
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 bool ascii); 773 bool ascii);
774 774
775 // Should the stub check whether arguments are strings? 775 // Should the stub check whether arguments are strings?
776 bool string_check_; 776 bool string_check_;
777 }; 777 };
778 778
779 779
780 } } // namespace v8::internal 780 } } // namespace v8::internal
781 781
782 #endif // V8_X64_CODEGEN_X64_H_ 782 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698