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

Side by Side Diff: src/mips/codegen-mips.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/math.js ('k') | src/mips/codegen-mips.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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 345
346 // Fast support for string.charAt(n) and string[n]. 346 // Fast support for string.charAt(n) and string[n].
347 void GenerateCharFromCode(ZoneList<Expression*>* args); 347 void GenerateCharFromCode(ZoneList<Expression*>* args);
348 348
349 // Fast support for object equality testing. 349 // Fast support for object equality testing.
350 void GenerateObjectEquals(ZoneList<Expression*>* args); 350 void GenerateObjectEquals(ZoneList<Expression*>* args);
351 351
352 void GenerateLog(ZoneList<Expression*>* args); 352 void GenerateLog(ZoneList<Expression*>* args);
353 353
354 // Fast support for Math.random(). 354 // Fast support for Math.random().
355 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); 355 void GenerateRandomHeapNumber(ZoneList<Expression*>* args);
356 356
357 void GenerateIsObject(ZoneList<Expression*>* args); 357 void GenerateIsObject(ZoneList<Expression*>* args);
358 void GenerateIsFunction(ZoneList<Expression*>* args); 358 void GenerateIsFunction(ZoneList<Expression*>* args);
359 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 359 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
360 void GenerateStringAdd(ZoneList<Expression*>* args); 360 void GenerateStringAdd(ZoneList<Expression*>* args);
361 void GenerateSubString(ZoneList<Expression*>* args); 361 void GenerateSubString(ZoneList<Expression*>* args);
362 void GenerateStringCompare(ZoneList<Expression*>* args); 362 void GenerateStringCompare(ZoneList<Expression*>* args);
363 void GenerateRegExpExec(ZoneList<Expression*>* args); 363 void GenerateRegExpExec(ZoneList<Expression*>* args);
364 void GenerateNumberToString(ZoneList<Expression*>* args); 364 void GenerateNumberToString(ZoneList<Expression*>* args);
365 365
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 friend class FullCodeGenerator; 424 friend class FullCodeGenerator;
425 friend class FullCodeGenSyntaxChecker; 425 friend class FullCodeGenSyntaxChecker;
426 426
427 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 427 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
428 }; 428 };
429 429
430 430
431 } } // namespace v8::internal 431 } } // namespace v8::internal
432 432
433 #endif // V8_MIPS_CODEGEN_MIPS_H_ 433 #endif // V8_MIPS_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/math.js ('k') | src/mips/codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698