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

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

Issue 1687014: Port improved ia32 CompareStub to x64. Add framework for inlined floating po... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 7 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 | « 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 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 // Consumes the Results *left and *right. 481 // Consumes the Results *left and *right.
482 Result LikelySmiBinaryOperation(Token::Value op, 482 Result LikelySmiBinaryOperation(Token::Value op,
483 Result* left, 483 Result* left,
484 Result* right, 484 Result* right,
485 OverwriteMode overwrite_mode); 485 OverwriteMode overwrite_mode);
486 486
487 void Comparison(AstNode* node, 487 void Comparison(AstNode* node,
488 Condition cc, 488 Condition cc,
489 bool strict, 489 bool strict,
490 ControlDestination* destination); 490 ControlDestination* destination);
491 void GenerateInlineNumberComparison(Result* left_side,
492 Result* right_side,
493 Condition cc,
494 ControlDestination* dest);
491 495
492 // To prevent long attacker-controlled byte sequences, integer constants 496 // To prevent long attacker-controlled byte sequences, integer constants
493 // from the JavaScript source are loaded in two parts if they are larger 497 // from the JavaScript source are loaded in two parts if they are larger
494 // than 16 bits. 498 // than 16 bits.
495 static const int kMaxSmiInlinedBits = 16; 499 static const int kMaxSmiInlinedBits = 16;
496 bool IsUnsafeSmi(Handle<Object> value); 500 bool IsUnsafeSmi(Handle<Object> value);
497 // Load an integer constant x into a register target using 501 // Load an integer constant x into a register target using
498 // at most 16 bits of user-controlled data per assembly operation. 502 // at most 16 bits of user-controlled data per assembly operation.
499 void LoadUnsafeSmi(Register target, Handle<Object> value); 503 void LoadUnsafeSmi(Register target, Handle<Object> value);
500 504
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 void Print() { 954 void Print() {
951 PrintF("NumberToStringStub\n"); 955 PrintF("NumberToStringStub\n");
952 } 956 }
953 #endif 957 #endif
954 }; 958 };
955 959
956 960
957 } } // namespace v8::internal 961 } } // namespace v8::internal
958 962
959 #endif // V8_X64_CODEGEN_X64_H_ 963 #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