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

Side by Side Diff: src/assembler.cc

Issue 2816006: [Isolates] KeyedLookupCache / DescriptorLookupCache / ContextSlotCache moved to Isolate. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « no previous file | src/heap.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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 } 588 }
589 589
590 590
591 ExternalReference ExternalReference::transcendental_cache_array_address() { 591 ExternalReference ExternalReference::transcendental_cache_array_address() {
592 return ExternalReference(Isolate::Current()->transcendental_cache()-> 592 return ExternalReference(Isolate::Current()->transcendental_cache()->
593 cache_array_address()); 593 cache_array_address());
594 } 594 }
595 595
596 596
597 ExternalReference ExternalReference::keyed_lookup_cache_keys() { 597 ExternalReference ExternalReference::keyed_lookup_cache_keys() {
598 return ExternalReference(KeyedLookupCache::keys_address()); 598 return ExternalReference(Isolate::Current()->
599 keyed_lookup_cache()->keys_address());
599 } 600 }
600 601
601 602
602 ExternalReference ExternalReference::keyed_lookup_cache_field_offsets() { 603 ExternalReference ExternalReference::keyed_lookup_cache_field_offsets() {
603 return ExternalReference(KeyedLookupCache::field_offsets_address()); 604 return ExternalReference(Isolate::Current()->
605 keyed_lookup_cache()->field_offsets_address());
604 } 606 }
605 607
606 608
607 ExternalReference ExternalReference::the_hole_value_location() { 609 ExternalReference ExternalReference::the_hole_value_location() {
608 return ExternalReference(Factory::the_hole_value().location()); 610 return ExternalReference(Factory::the_hole_value().location());
609 } 611 }
610 612
611 613
612 ExternalReference ExternalReference::roots_address() { 614 ExternalReference ExternalReference::roots_address() {
613 return ExternalReference(HEAP->roots_address()); 615 return ExternalReference(HEAP->roots_address());
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); 797 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break)));
796 } 798 }
797 799
798 800
799 ExternalReference ExternalReference::debug_step_in_fp_address() { 801 ExternalReference ExternalReference::debug_step_in_fp_address() {
800 return ExternalReference(Debug::step_in_fp_addr()); 802 return ExternalReference(Debug::step_in_fp_addr());
801 } 803 }
802 #endif 804 #endif
803 805
804 } } // namespace v8::internal 806 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698