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

Side by Side Diff: src/hydrogen-instructions.h

Issue 18749004: Rename AllocationSite::payload to AllocationSite::transition_info (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 5 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/hydrogen.cc ('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 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 5329 matching lines...) Expand 10 before | Expand all | Expand 10 after
5340 } 5340 }
5341 5341
5342 static HObjectAccess ForElementsPointer() { 5342 static HObjectAccess ForElementsPointer() {
5343 return HObjectAccess(kElementsPointer, JSObject::kElementsOffset); 5343 return HObjectAccess(kElementsPointer, JSObject::kElementsOffset);
5344 } 5344 }
5345 5345
5346 static HObjectAccess ForArrayLength() { 5346 static HObjectAccess ForArrayLength() {
5347 return HObjectAccess(kArrayLengths, JSArray::kLengthOffset); 5347 return HObjectAccess(kArrayLengths, JSArray::kLengthOffset);
5348 } 5348 }
5349 5349
5350 static HObjectAccess ForAllocationSitePayload() { 5350 static HObjectAccess ForAllocationSiteTransitionInfo() {
5351 return HObjectAccess(kInobject, AllocationSite::kPayloadOffset); 5351 return HObjectAccess(kInobject, AllocationSite::kTransitionInfoOffset);
5352 } 5352 }
5353 5353
5354 static HObjectAccess ForFixedArrayLength() { 5354 static HObjectAccess ForFixedArrayLength() {
5355 return HObjectAccess(kArrayLengths, FixedArray::kLengthOffset); 5355 return HObjectAccess(kArrayLengths, FixedArray::kLengthOffset);
5356 } 5356 }
5357 5357
5358 static HObjectAccess ForPropertiesPointer() { 5358 static HObjectAccess ForPropertiesPointer() {
5359 return HObjectAccess(kInobject, JSObject::kPropertiesOffset); 5359 return HObjectAccess(kInobject, JSObject::kPropertiesOffset);
5360 } 5360 }
5361 5361
(...skipping 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
6710 virtual bool IsDeletable() const { return true; } 6710 virtual bool IsDeletable() const { return true; }
6711 }; 6711 };
6712 6712
6713 6713
6714 #undef DECLARE_INSTRUCTION 6714 #undef DECLARE_INSTRUCTION
6715 #undef DECLARE_CONCRETE_INSTRUCTION 6715 #undef DECLARE_CONCRETE_INSTRUCTION
6716 6716
6717 } } // namespace v8::internal 6717 } } // namespace v8::internal
6718 6718
6719 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 6719 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698