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

Side by Side Diff: src/assembler.cc

Issue 1631008: Optimize the assembly code generated for Math.random() (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/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 (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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::fill_heap_number_with_random_function() { 577 ExternalReference ExternalReference::fill_heap_number_with_random_function() {
578 return 578 return
579 ExternalReference(Redirect(FUNCTION_ADDR(V8::FillHeapNumberWithRandom))); 579 ExternalReference(Redirect(FUNCTION_ADDR(V8::FillHeapNumberWithRandom)));
580 } 580 }
581 581
582 582
583 ExternalReference ExternalReference::random_uint32_function() {
584 return ExternalReference(Redirect(FUNCTION_ADDR(V8::Random)));
585 }
586
587
583 ExternalReference ExternalReference::transcendental_cache_array_address() { 588 ExternalReference ExternalReference::transcendental_cache_array_address() {
584 return ExternalReference(TranscendentalCache::cache_array_address()); 589 return ExternalReference(TranscendentalCache::cache_array_address());
585 } 590 }
586 591
587 592
588 ExternalReference ExternalReference::keyed_lookup_cache_keys() { 593 ExternalReference ExternalReference::keyed_lookup_cache_keys() {
589 return ExternalReference(KeyedLookupCache::keys_address()); 594 return ExternalReference(KeyedLookupCache::keys_address());
590 } 595 }
591 596
592 597
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); 799 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break)));
795 } 800 }
796 801
797 802
798 ExternalReference ExternalReference::debug_step_in_fp_address() { 803 ExternalReference ExternalReference::debug_step_in_fp_address() {
799 return ExternalReference(Debug::step_in_fp_addr()); 804 return ExternalReference(Debug::step_in_fp_addr());
800 } 805 }
801 #endif 806 #endif
802 807
803 } } // namespace v8::internal 808 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698