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

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

Issue 9460004: Fix redefining of attributes on aliased arguments. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Andreas Rossberg. Created 8 years, 10 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/objects-debug.cc ('k') | src/objects-printer.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 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 4788 matching lines...) Expand 10 before | Expand all | Expand 10 after
4799 } 4799 }
4800 4800
4801 4801
4802 SMI_ACCESSORS(TypeFeedbackInfo, ic_total_count, kIcTotalCountOffset) 4802 SMI_ACCESSORS(TypeFeedbackInfo, ic_total_count, kIcTotalCountOffset)
4803 SMI_ACCESSORS(TypeFeedbackInfo, ic_with_typeinfo_count, 4803 SMI_ACCESSORS(TypeFeedbackInfo, ic_with_typeinfo_count,
4804 kIcWithTypeinfoCountOffset) 4804 kIcWithTypeinfoCountOffset)
4805 ACCESSORS(TypeFeedbackInfo, type_feedback_cells, TypeFeedbackCells, 4805 ACCESSORS(TypeFeedbackInfo, type_feedback_cells, TypeFeedbackCells,
4806 kTypeFeedbackCellsOffset) 4806 kTypeFeedbackCellsOffset)
4807 4807
4808 4808
4809 SMI_ACCESSORS(AliasedArgumentsEntry, aliased_context_slot, kAliasedContextSlot)
4810
4811
4809 Relocatable::Relocatable(Isolate* isolate) { 4812 Relocatable::Relocatable(Isolate* isolate) {
4810 ASSERT(isolate == Isolate::Current()); 4813 ASSERT(isolate == Isolate::Current());
4811 isolate_ = isolate; 4814 isolate_ = isolate;
4812 prev_ = isolate->relocatable_top(); 4815 prev_ = isolate->relocatable_top();
4813 isolate->set_relocatable_top(this); 4816 isolate->set_relocatable_top(this);
4814 } 4817 }
4815 4818
4816 4819
4817 Relocatable::~Relocatable() { 4820 Relocatable::~Relocatable() {
4818 ASSERT(isolate_ == Isolate::Current()); 4821 ASSERT(isolate_ == Isolate::Current());
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
4906 #undef WRITE_INT_FIELD 4909 #undef WRITE_INT_FIELD
4907 #undef READ_SHORT_FIELD 4910 #undef READ_SHORT_FIELD
4908 #undef WRITE_SHORT_FIELD 4911 #undef WRITE_SHORT_FIELD
4909 #undef READ_BYTE_FIELD 4912 #undef READ_BYTE_FIELD
4910 #undef WRITE_BYTE_FIELD 4913 #undef WRITE_BYTE_FIELD
4911 4914
4912 4915
4913 } } // namespace v8::internal 4916 } } // namespace v8::internal
4914 4917
4915 #endif // V8_OBJECTS_INL_H_ 4918 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects-debug.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698