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

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

Issue 1404001: Land http://codereview.chromium.org/1311003/diff/8001/9001 to allows us to pu... (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | 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 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 // expressions. We are not allowed to throw reference errors for 447 // expressions. We are not allowed to throw reference errors for
448 // non-existing properties of the global object, so we must make it 448 // non-existing properties of the global object, so we must make it
449 // look like an explicit property access, instead of an access 449 // look like an explicit property access, instead of an access
450 // through the context chain. 450 // through the context chain.
451 void LoadTypeofExpression(Expression* x); 451 void LoadTypeofExpression(Expression* x);
452 452
453 // Translate the value on top of the frame into control flow to the 453 // Translate the value on top of the frame into control flow to the
454 // control destination. 454 // control destination.
455 void ToBoolean(ControlDestination* destination); 455 void ToBoolean(ControlDestination* destination);
456 456
457 // Generate code that computes a shortcutting logical operation.
458 void GenerateLogicalBooleanOperation(BinaryOperation* node);
459
457 void GenericBinaryOperation( 460 void GenericBinaryOperation(
458 Token::Value op, 461 Token::Value op,
459 StaticType* type, 462 StaticType* type,
460 OverwriteMode overwrite_mode); 463 OverwriteMode overwrite_mode);
461 464
462 // If possible, combine two constant smi values using op to produce 465 // If possible, combine two constant smi values using op to produce
463 // a smi result, and push it on the virtual frame, all at compile time. 466 // a smi result, and push it on the virtual frame, all at compile time.
464 // Returns true if it succeeds. Otherwise it has no effect. 467 // Returns true if it succeeds. Otherwise it has no effect.
465 bool FoldConstantSmis(Token::Value op, int left, int right); 468 bool FoldConstantSmis(Token::Value op, int left, int right);
466 469
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 void Print() { 940 void Print() {
938 PrintF("NumberToStringStub\n"); 941 PrintF("NumberToStringStub\n");
939 } 942 }
940 #endif 943 #endif
941 }; 944 };
942 945
943 946
944 } } // namespace v8::internal 947 } } // namespace v8::internal
945 948
946 #endif // V8_X64_CODEGEN_X64_H_ 949 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698