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

Side by Side Diff: src/assembler.cc

Issue 6359015: Revert "Unification: introduce ExternalReference::pending_exception_address()." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 11 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/ia32/code-stubs-ia32.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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 ExternalReference ExternalReference::handle_scope_next_address() { 706 ExternalReference ExternalReference::handle_scope_next_address() {
707 return ExternalReference(HandleScope::current_next_address()); 707 return ExternalReference(HandleScope::current_next_address());
708 } 708 }
709 709
710 710
711 ExternalReference ExternalReference::handle_scope_limit_address() { 711 ExternalReference ExternalReference::handle_scope_limit_address() {
712 return ExternalReference(HandleScope::current_limit_address()); 712 return ExternalReference(HandleScope::current_limit_address());
713 } 713 }
714 714
715 715
716 ExternalReference ExternalReference::pending_exception_address() {
717 return ExternalReference(Top::pending_exception_address());
718 }
719
720
721 ExternalReference ExternalReference::scheduled_exception_address() { 716 ExternalReference ExternalReference::scheduled_exception_address() {
722 return ExternalReference(Top::scheduled_exception_address()); 717 return ExternalReference(Top::scheduled_exception_address());
723 } 718 }
724 719
725 720
726 ExternalReference ExternalReference::address_of_min_int() { 721 ExternalReference ExternalReference::address_of_min_int() {
727 return ExternalReference(reinterpret_cast<void*>( 722 return ExternalReference(reinterpret_cast<void*>(
728 const_cast<double*>(&DoubleConstant::min_int))); 723 const_cast<double*>(&DoubleConstant::min_int)));
729 } 724 }
730 725
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 958 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
964 state_.written_position = state_.current_position; 959 state_.written_position = state_.current_position;
965 written = true; 960 written = true;
966 } 961 }
967 962
968 // Return whether something was written. 963 // Return whether something was written.
969 return written; 964 return written;
970 } 965 }
971 966
972 } } // namespace v8::internal 967 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698