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

Side by Side Diff: src/assembler.cc

Issue 3792003: Optimizing HandleScope. Also fixed HandleScope destruction when API getter th... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 2 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/handles.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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC))); 576 return ExternalReference(Redirect(FUNCTION_ADDR(Runtime::PerformGC)));
577 } 577 }
578 578
579 579
580 ExternalReference ExternalReference::fill_heap_number_with_random_function() { 580 ExternalReference ExternalReference::fill_heap_number_with_random_function() {
581 return 581 return
582 ExternalReference(Redirect(FUNCTION_ADDR(V8::FillHeapNumberWithRandom))); 582 ExternalReference(Redirect(FUNCTION_ADDR(V8::FillHeapNumberWithRandom)));
583 } 583 }
584 584
585 585
586 ExternalReference ExternalReference::delete_handle_scope_extensions() {
587 return ExternalReference(Redirect(FUNCTION_ADDR(
588 HandleScope::DeleteExtensions)));
589 }
590
591
586 ExternalReference ExternalReference::random_uint32_function() { 592 ExternalReference ExternalReference::random_uint32_function() {
587 return ExternalReference(Redirect(FUNCTION_ADDR(V8::Random))); 593 return ExternalReference(Redirect(FUNCTION_ADDR(V8::Random)));
588 } 594 }
589 595
590 596
591 ExternalReference ExternalReference::transcendental_cache_array_address() { 597 ExternalReference ExternalReference::transcendental_cache_array_address() {
592 return ExternalReference(TranscendentalCache::cache_array_address()); 598 return ExternalReference(TranscendentalCache::cache_array_address());
593 } 599 }
594 600
595 601
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 ExternalReference ExternalReference::heap_always_allocate_scope_depth() { 652 ExternalReference ExternalReference::heap_always_allocate_scope_depth() {
647 return ExternalReference(Heap::always_allocate_scope_depth_address()); 653 return ExternalReference(Heap::always_allocate_scope_depth_address());
648 } 654 }
649 655
650 656
651 ExternalReference ExternalReference::new_space_allocation_limit_address() { 657 ExternalReference ExternalReference::new_space_allocation_limit_address() {
652 return ExternalReference(Heap::NewSpaceAllocationLimitAddress()); 658 return ExternalReference(Heap::NewSpaceAllocationLimitAddress());
653 } 659 }
654 660
655 661
656 ExternalReference ExternalReference::handle_scope_extensions_address() { 662 ExternalReference ExternalReference::handle_scope_level_address() {
657 return ExternalReference(HandleScope::current_extensions_address()); 663 return ExternalReference(HandleScope::current_level_address());
658 } 664 }
659 665
660 666
661 ExternalReference ExternalReference::handle_scope_next_address() { 667 ExternalReference ExternalReference::handle_scope_next_address() {
662 return ExternalReference(HandleScope::current_next_address()); 668 return ExternalReference(HandleScope::current_next_address());
663 } 669 }
664 670
665 671
666 ExternalReference ExternalReference::handle_scope_limit_address() { 672 ExternalReference ExternalReference::handle_scope_limit_address() {
667 return ExternalReference(HandleScope::current_limit_address()); 673 return ExternalReference(HandleScope::current_limit_address());
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); 798 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break)));
793 } 799 }
794 800
795 801
796 ExternalReference ExternalReference::debug_step_in_fp_address() { 802 ExternalReference ExternalReference::debug_step_in_fp_address() {
797 return ExternalReference(Debug::step_in_fp_addr()); 803 return ExternalReference(Debug::step_in_fp_addr());
798 } 804 }
799 #endif 805 #endif
800 806
801 } } // namespace v8::internal 807 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/handles.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698