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

Side by Side Diff: src/assembler.cc

Issue 126113: Change the implementation of Math.random to use George... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 6 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.cc » ('j') | src/v8.h » ('J')
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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 ExternalReference ExternalReference::perform_gc_function() { 546 ExternalReference ExternalReference::perform_gc_function() {
547 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); 547 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC)));
548 } 548 }
549 549
550 550
551 ExternalReference ExternalReference::builtin_passed_function() { 551 ExternalReference ExternalReference::builtin_passed_function() {
552 return ExternalReference(&Builtins::builtin_passed_function); 552 return ExternalReference(&Builtins::builtin_passed_function);
553 } 553 }
554 554
555 555
556 ExternalReference ExternalReference::random_positive_smi_function() {
557 return ExternalReference(Redirect(FUNCTION_ADDR(V8::RandomPositiveSmi)));
558 }
559
560
556 ExternalReference ExternalReference::the_hole_value_location() { 561 ExternalReference ExternalReference::the_hole_value_location() {
557 return ExternalReference(Factory::the_hole_value().location()); 562 return ExternalReference(Factory::the_hole_value().location());
558 } 563 }
559 564
560 565
561 ExternalReference ExternalReference::address_of_stack_guard_limit() { 566 ExternalReference ExternalReference::address_of_stack_guard_limit() {
562 return ExternalReference(StackGuard::address_of_jslimit()); 567 return ExternalReference(StackGuard::address_of_jslimit());
563 } 568 }
564 569
565 570
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); 638 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break)));
634 } 639 }
635 640
636 641
637 ExternalReference ExternalReference::debug_step_in_fp_address() { 642 ExternalReference ExternalReference::debug_step_in_fp_address() {
638 return ExternalReference(Debug::step_in_fp_addr()); 643 return ExternalReference(Debug::step_in_fp_addr());
639 } 644 }
640 #endif 645 #endif
641 646
642 } } // namespace v8::internal 647 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/codegen.cc » ('j') | src/v8.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698