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

Side by Side Diff: src/assembler.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/arm/codegen-arm.cc ('k') | src/assembler.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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 391
392 explicit ExternalReference(Top::AddressId id); 392 explicit ExternalReference(Top::AddressId id);
393 393
394 explicit ExternalReference(const SCTableReference& table_ref); 394 explicit ExternalReference(const SCTableReference& table_ref);
395 395
396 // One-of-a-kind references. These references are not part of a general 396 // One-of-a-kind references. These references are not part of a general
397 // pattern. This means that they have to be added to the 397 // pattern. This means that they have to be added to the
398 // ExternalReferenceTable in serialize.cc manually. 398 // ExternalReferenceTable in serialize.cc manually.
399 399
400 static ExternalReference perform_gc_function(); 400 static ExternalReference perform_gc_function();
401 static ExternalReference random_positive_smi_function(); 401 static ExternalReference fill_heap_number_with_random_function();
402 static ExternalReference transcendental_cache_array_address(); 402 static ExternalReference transcendental_cache_array_address();
403 403
404 // Static data in the keyed lookup cache. 404 // Static data in the keyed lookup cache.
405 static ExternalReference keyed_lookup_cache_keys(); 405 static ExternalReference keyed_lookup_cache_keys();
406 static ExternalReference keyed_lookup_cache_field_offsets(); 406 static ExternalReference keyed_lookup_cache_field_offsets();
407 407
408 // Static variable Factory::the_hole_value.location() 408 // Static variable Factory::the_hole_value.location()
409 static ExternalReference the_hole_value_location(); 409 static ExternalReference the_hole_value_location();
410 410
411 // Static variable Heap::roots_address() 411 // Static variable Heap::roots_address()
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 unsigned int num_bits_set; 537 unsigned int num_bits_set;
538 for (num_bits_set = 0; x; x >>= 1) { 538 for (num_bits_set = 0; x; x >>= 1) {
539 num_bits_set += x & 1; 539 num_bits_set += x & 1;
540 } 540 }
541 return num_bits_set; 541 return num_bits_set;
542 } 542 }
543 543
544 } } // namespace v8::internal 544 } } // namespace v8::internal
545 545
546 #endif // V8_ASSEMBLER_H_ 546 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698