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

Side by Side Diff: src/serialize.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/runtime.cc ('k') | src/v8.h » ('j') | src/v8.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 Add(SCTableReference::valueReference(StubCache::kSecondary).address(), 645 Add(SCTableReference::valueReference(StubCache::kSecondary).address(),
646 STUB_CACHE_TABLE, 646 STUB_CACHE_TABLE,
647 4, 647 4,
648 "StubCache::secondary_->value"); 648 "StubCache::secondary_->value");
649 649
650 // Runtime entries 650 // Runtime entries
651 Add(ExternalReference::perform_gc_function().address(), 651 Add(ExternalReference::perform_gc_function().address(),
652 RUNTIME_ENTRY, 652 RUNTIME_ENTRY,
653 1, 653 1,
654 "Runtime::PerformGC"); 654 "Runtime::PerformGC");
655 Add(ExternalReference::random_positive_smi_function().address(),
656 RUNTIME_ENTRY,
657 2,
658 "V8::RandomPositiveSmi");
655 659
656 // Miscellaneous 660 // Miscellaneous
657 Add(ExternalReference::builtin_passed_function().address(), 661 Add(ExternalReference::builtin_passed_function().address(),
658 UNCLASSIFIED, 662 UNCLASSIFIED,
659 1, 663 1,
660 "Builtins::builtin_passed_function"); 664 "Builtins::builtin_passed_function");
661 Add(ExternalReference::the_hole_value_location().address(), 665 Add(ExternalReference::the_hole_value_location().address(),
662 UNCLASSIFIED, 666 UNCLASSIFIED,
663 2, 667 2,
664 "Factory::the_hole_value().location()"); 668 "Factory::the_hole_value().location()");
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1619 ASSERT(index < large_objects_.length()); 1623 ASSERT(index < large_objects_.length());
1620 } 1624 }
1621 return large_objects_[index]; // s.page_offset() is ignored. 1625 return large_objects_[index]; // s.page_offset() is ignored.
1622 } 1626 }
1623 UNREACHABLE(); 1627 UNREACHABLE();
1624 return NULL; 1628 return NULL;
1625 } 1629 }
1626 1630
1627 1631
1628 } } // namespace v8::internal 1632 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/v8.h » ('j') | src/v8.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698