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

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

Issue 17287003: Emit deprecated check for constant function transitions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | no next file » | 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 3606 matching lines...) Expand 10 before | Expand all | Expand 10 after
3617 if (FLAG_track_fields && details.representation().IsSmi()) { 3617 if (FLAG_track_fields && details.representation().IsSmi()) {
3618 return true; 3618 return true;
3619 } 3619 }
3620 if (FLAG_track_double_fields && details.representation().IsDouble()) { 3620 if (FLAG_track_double_fields && details.representation().IsDouble()) {
3621 return true; 3621 return true;
3622 } 3622 }
3623 if (FLAG_track_heap_object_fields && 3623 if (FLAG_track_heap_object_fields &&
3624 details.representation().IsHeapObject()) { 3624 details.representation().IsHeapObject()) {
3625 return true; 3625 return true;
3626 } 3626 }
3627 if (FLAG_track_fields && details.type() == CONSTANT_FUNCTION) {
3628 return true;
3629 }
3627 } 3630 }
3628 return false; 3631 return false;
3629 } 3632 }
3630 3633
3631 3634
3632 void Map::NotifyLeafMapLayoutChange() { 3635 void Map::NotifyLeafMapLayoutChange() {
3633 dependent_code()->DeoptimizeDependentCodeGroup( 3636 dependent_code()->DeoptimizeDependentCodeGroup(
3634 GetIsolate(), 3637 GetIsolate(),
3635 DependentCode::kPrototypeCheckGroup); 3638 DependentCode::kPrototypeCheckGroup);
3636 } 3639 }
(...skipping 2544 matching lines...) Expand 10 before | Expand all | Expand 10 after
6181 #undef WRITE_UINT32_FIELD 6184 #undef WRITE_UINT32_FIELD
6182 #undef READ_SHORT_FIELD 6185 #undef READ_SHORT_FIELD
6183 #undef WRITE_SHORT_FIELD 6186 #undef WRITE_SHORT_FIELD
6184 #undef READ_BYTE_FIELD 6187 #undef READ_BYTE_FIELD
6185 #undef WRITE_BYTE_FIELD 6188 #undef WRITE_BYTE_FIELD
6186 6189
6187 6190
6188 } } // namespace v8::internal 6191 } } // namespace v8::internal
6189 6192
6190 #endif // V8_OBJECTS_INL_H_ 6193 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698