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

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

Issue 1599019: Change Math.random() to return 32 bits of random goodness, instead of 30 rand... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 8 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/codegen.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 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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 void GenerateCharFromCode(ZoneList<Expression*>* args); 607 void GenerateCharFromCode(ZoneList<Expression*>* args);
608 608
609 // Fast support for object equality testing. 609 // Fast support for object equality testing.
610 void GenerateObjectEquals(ZoneList<Expression*>* args); 610 void GenerateObjectEquals(ZoneList<Expression*>* args);
611 611
612 void GenerateLog(ZoneList<Expression*>* args); 612 void GenerateLog(ZoneList<Expression*>* args);
613 613
614 void GenerateGetFramePointer(ZoneList<Expression*>* args); 614 void GenerateGetFramePointer(ZoneList<Expression*>* args);
615 615
616 // Fast support for Math.random(). 616 // Fast support for Math.random().
617 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); 617 void GenerateRandomHeapNumber(ZoneList<Expression*>* args);
618 618
619 // Fast support for StringAdd. 619 // Fast support for StringAdd.
620 void GenerateStringAdd(ZoneList<Expression*>* args); 620 void GenerateStringAdd(ZoneList<Expression*>* args);
621 621
622 // Fast support for SubString. 622 // Fast support for SubString.
623 void GenerateSubString(ZoneList<Expression*>* args); 623 void GenerateSubString(ZoneList<Expression*>* args);
624 624
625 // Fast support for StringCompare. 625 // Fast support for StringCompare.
626 void GenerateStringCompare(ZoneList<Expression*>* args); 626 void GenerateStringCompare(ZoneList<Expression*>* args);
627 627
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 return ObjectBits::encode(object_.code()) | 1048 return ObjectBits::encode(object_.code()) |
1049 AddressBits::encode(addr_.code()) | 1049 AddressBits::encode(addr_.code()) |
1050 ScratchBits::encode(scratch_.code()); 1050 ScratchBits::encode(scratch_.code());
1051 } 1051 }
1052 }; 1052 };
1053 1053
1054 1054
1055 } } // namespace v8::internal 1055 } } // namespace v8::internal
1056 1056
1057 #endif // V8_IA32_CODEGEN_IA32_H_ 1057 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/codegen.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698