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

Side by Side Diff: src/assembler.cc

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/assembler.h ('k') | src/codegen.h » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 567
568 ExternalReference::ExternalReference(const SCTableReference& table_ref) 568 ExternalReference::ExternalReference(const SCTableReference& table_ref)
569 : address_(table_ref.address()) {} 569 : address_(table_ref.address()) {}
570 570
571 571
572 ExternalReference ExternalReference::perform_gc_function() { 572 ExternalReference ExternalReference::perform_gc_function() {
573 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); 573 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC)));
574 } 574 }
575 575
576 576
577 ExternalReference ExternalReference::random_positive_smi_function() { 577 ExternalReference ExternalReference::fill_heap_number_with_random_function() {
578 return ExternalReference(Redirect(FUNCTION_ADDR(V8::RandomPositiveSmi))); 578 return
579 ExternalReference(Redirect(FUNCTION_ADDR(V8::FillHeapNumberWithRandom)));
579 } 580 }
580 581
581 582
582 ExternalReference ExternalReference::transcendental_cache_array_address() { 583 ExternalReference ExternalReference::transcendental_cache_array_address() {
583 return ExternalReference(TranscendentalCache::cache_array_address()); 584 return ExternalReference(TranscendentalCache::cache_array_address());
584 } 585 }
585 586
586 587
587 ExternalReference ExternalReference::keyed_lookup_cache_keys() { 588 ExternalReference ExternalReference::keyed_lookup_cache_keys() {
588 return ExternalReference(KeyedLookupCache::keys_address()); 589 return ExternalReference(KeyedLookupCache::keys_address());
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); 794 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break)));
794 } 795 }
795 796
796 797
797 ExternalReference ExternalReference::debug_step_in_fp_address() { 798 ExternalReference ExternalReference::debug_step_in_fp_address() {
798 return ExternalReference(Debug::step_in_fp_addr()); 799 return ExternalReference(Debug::step_in_fp_addr());
799 } 800 }
800 #endif 801 #endif
801 802
802 } } // namespace v8::internal 803 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698