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

Side by Side Diff: src/objects.h

Issue 23710014: Introduce concurrent on-stack replacement. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 7 years, 3 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/full-codegen.h ('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 5084 matching lines...) Expand 10 before | Expand all | Expand 10 after
5095 5095
5096 template<typename StaticVisitor> 5096 template<typename StaticVisitor>
5097 inline void CodeIterateBody(Heap* heap); 5097 inline void CodeIterateBody(Heap* heap);
5098 5098
5099 DECLARE_PRINTER(Code) 5099 DECLARE_PRINTER(Code)
5100 DECLARE_VERIFIER(Code) 5100 DECLARE_VERIFIER(Code)
5101 5101
5102 void ClearInlineCaches(); 5102 void ClearInlineCaches();
5103 void ClearTypeFeedbackCells(Heap* heap); 5103 void ClearTypeFeedbackCells(Heap* heap);
5104 5104
5105 BailoutId TranslatePcOffsetToAstId(uint32_t pc_offset);
5106
5105 #define DECLARE_CODE_AGE_ENUM(X) k##X##CodeAge, 5107 #define DECLARE_CODE_AGE_ENUM(X) k##X##CodeAge,
5106 enum Age { 5108 enum Age {
5107 kNoAge = 0, 5109 kNoAge = 0,
5108 CODE_AGE_LIST(DECLARE_CODE_AGE_ENUM) 5110 CODE_AGE_LIST(DECLARE_CODE_AGE_ENUM)
5109 kAfterLastCodeAge, 5111 kAfterLastCodeAge,
5110 kLastCodeAge = kAfterLastCodeAge - 1, 5112 kLastCodeAge = kAfterLastCodeAge - 1,
5111 kCodeAgeCount = kAfterLastCodeAge - 1 5113 kCodeAgeCount = kAfterLastCodeAge - 1
5112 }; 5114 };
5113 #undef DECLARE_CODE_AGE_ENUM 5115 #undef DECLARE_CODE_AGE_ENUM
5114 5116
(...skipping 5044 matching lines...) Expand 10 before | Expand all | Expand 10 after
10159 } else { 10161 } else {
10160 value &= ~(1 << bit_position); 10162 value &= ~(1 << bit_position);
10161 } 10163 }
10162 return value; 10164 return value;
10163 } 10165 }
10164 }; 10166 };
10165 10167
10166 } } // namespace v8::internal 10168 } } // namespace v8::internal
10167 10169
10168 #endif // V8_OBJECTS_H_ 10170 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/full-codegen.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698