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

Side by Side Diff: src/objects.h

Issue 10332010: Implement ClearFunctionTypeFeedback for test cases. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 7 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/mark-compact.cc ('k') | src/objects.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 4422 matching lines...) Expand 10 before | Expand all | Expand 10 after
4433 #ifdef OBJECT_PRINT 4433 #ifdef OBJECT_PRINT
4434 inline void CodePrint() { 4434 inline void CodePrint() {
4435 CodePrint(stdout); 4435 CodePrint(stdout);
4436 } 4436 }
4437 void CodePrint(FILE* out); 4437 void CodePrint(FILE* out);
4438 #endif 4438 #endif
4439 #ifdef DEBUG 4439 #ifdef DEBUG
4440 void CodeVerify(); 4440 void CodeVerify();
4441 #endif 4441 #endif
4442 void ClearInlineCaches(); 4442 void ClearInlineCaches();
4443 void ClearTypeFeedbackCells(Heap* heap);
4443 4444
4444 // Max loop nesting marker used to postpose OSR. We don't take loop 4445 // Max loop nesting marker used to postpose OSR. We don't take loop
4445 // nesting that is deeper than 5 levels into account. 4446 // nesting that is deeper than 5 levels into account.
4446 static const int kMaxLoopNestingMarker = 6; 4447 static const int kMaxLoopNestingMarker = 6;
4447 4448
4448 // Layout description. 4449 // Layout description.
4449 static const int kInstructionSizeOffset = HeapObject::kHeaderSize; 4450 static const int kInstructionSizeOffset = HeapObject::kHeaderSize;
4450 static const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize; 4451 static const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize;
4451 static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize; 4452 static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize;
4452 static const int kDeoptimizationDataOffset = 4453 static const int kDeoptimizationDataOffset =
(...skipping 4204 matching lines...) Expand 10 before | Expand all | Expand 10 after
8657 } else { 8658 } else {
8658 value &= ~(1 << bit_position); 8659 value &= ~(1 << bit_position);
8659 } 8660 }
8660 return value; 8661 return value;
8661 } 8662 }
8662 }; 8663 };
8663 8664
8664 } } // namespace v8::internal 8665 } } // namespace v8::internal
8665 8666
8666 #endif // V8_OBJECTS_H_ 8667 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698