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

Side by Side Diff: src/heap-inl.h

Issue 215973004: Remove dead Object::GetPropertyOrFail. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « no previous file | src/objects.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 CALL_AND_RETRY_OR_DIE(ISOLATE, \ 680 CALL_AND_RETRY_OR_DIE(ISOLATE, \
681 FUNCTION_CALL, \ 681 FUNCTION_CALL, \
682 return Handle<TYPE>(TYPE::cast(__object__), ISOLATE), \ 682 return Handle<TYPE>(TYPE::cast(__object__), ISOLATE), \
683 return Handle<TYPE>()) \ 683 return Handle<TYPE>()) \
684 684
685 685
686 #define CALL_HEAP_FUNCTION_VOID(ISOLATE, FUNCTION_CALL) \ 686 #define CALL_HEAP_FUNCTION_VOID(ISOLATE, FUNCTION_CALL) \
687 CALL_AND_RETRY_OR_DIE(ISOLATE, FUNCTION_CALL, return, return) 687 CALL_AND_RETRY_OR_DIE(ISOLATE, FUNCTION_CALL, return, return)
688 688
689 689
690 #define CALL_HEAP_FUNCTION_PASS_EXCEPTION(ISOLATE, FUNCTION_CALL) \
691 CALL_AND_RETRY(ISOLATE, \
692 FUNCTION_CALL, \
693 return __object__, \
694 return __maybe_object__)
695
696
697 void ExternalStringTable::AddString(String* string) { 690 void ExternalStringTable::AddString(String* string) {
698 ASSERT(string->IsExternalString()); 691 ASSERT(string->IsExternalString());
699 if (heap_->InNewSpace(string)) { 692 if (heap_->InNewSpace(string)) {
700 new_space_strings_.Add(string); 693 new_space_strings_.Add(string);
701 } else { 694 } else {
702 old_space_strings_.Add(string); 695 old_space_strings_.Add(string);
703 } 696 }
704 } 697 }
705 698
706 699
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 825
833 826
834 double GCTracer::SizeOfHeapObjects() { 827 double GCTracer::SizeOfHeapObjects() {
835 return (static_cast<double>(heap_->SizeOfObjects())) / MB; 828 return (static_cast<double>(heap_->SizeOfObjects())) / MB;
836 } 829 }
837 830
838 831
839 } } // namespace v8::internal 832 } } // namespace v8::internal
840 833
841 #endif // V8_HEAP_INL_H_ 834 #endif // V8_HEAP_INL_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698