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

Side by Side Diff: src/objects.h

Issue 866493003: Retry "Use a WeakCell in the CallIC type vector." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Created 5 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
« no previous file with comments | « src/interface-descriptors.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 6736 matching lines...) Expand 10 before | Expand all | Expand 10 after
6747 FixedArray* GetLiteralsFromOptimizedCodeMap(int index); 6747 FixedArray* GetLiteralsFromOptimizedCodeMap(int index);
6748 6748
6749 Code* GetCodeFromOptimizedCodeMap(int index); 6749 Code* GetCodeFromOptimizedCodeMap(int index);
6750 6750
6751 // Clear optimized code map. 6751 // Clear optimized code map.
6752 void ClearOptimizedCodeMap(); 6752 void ClearOptimizedCodeMap();
6753 6753
6754 // Removed a specific optimized code object from the optimized code map. 6754 // Removed a specific optimized code object from the optimized code map.
6755 void EvictFromOptimizedCodeMap(Code* optimized_code, const char* reason); 6755 void EvictFromOptimizedCodeMap(Code* optimized_code, const char* reason);
6756 6756
6757 // Unconditionally clear the type feedback vector (including vector ICs).
6757 void ClearTypeFeedbackInfo(); 6758 void ClearTypeFeedbackInfo();
6758 6759
6760 // Clear the type feedback vector with a more subtle policy at GC time.
6761 void ClearTypeFeedbackInfoAtGCTime();
6762
6759 // Trims the optimized code map after entries have been removed. 6763 // Trims the optimized code map after entries have been removed.
6760 void TrimOptimizedCodeMap(int shrink_by); 6764 void TrimOptimizedCodeMap(int shrink_by);
6761 6765
6762 // Add a new entry to the optimized code map. 6766 // Add a new entry to the optimized code map.
6763 static void AddToOptimizedCodeMap(Handle<SharedFunctionInfo> shared, 6767 static void AddToOptimizedCodeMap(Handle<SharedFunctionInfo> shared,
6764 Handle<Context> native_context, 6768 Handle<Context> native_context,
6765 Handle<Code> code, 6769 Handle<Code> code,
6766 Handle<FixedArray> literals, 6770 Handle<FixedArray> literals,
6767 BailoutId osr_ast_id); 6771 BailoutId osr_ast_id);
6768 6772
(...skipping 4209 matching lines...) Expand 10 before | Expand all | Expand 10 after
10978 } else { 10982 } else {
10979 value &= ~(1 << bit_position); 10983 value &= ~(1 << bit_position);
10980 } 10984 }
10981 return value; 10985 return value;
10982 } 10986 }
10983 }; 10987 };
10984 10988
10985 } } // namespace v8::internal 10989 } } // namespace v8::internal
10986 10990
10987 #endif // V8_OBJECTS_H_ 10991 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/interface-descriptors.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698