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/type-info.h

Issue 196343021: Revert "Continued fix for 351257. Reusing the feedback vector is too complex." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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/runtime.cc ('k') | src/type-info.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 26 matching lines...) Expand all
37 namespace internal { 37 namespace internal {
38 38
39 // Forward declarations. 39 // Forward declarations.
40 class ICStub; 40 class ICStub;
41 class SmallMapList; 41 class SmallMapList;
42 42
43 43
44 class TypeFeedbackOracle: public ZoneObject { 44 class TypeFeedbackOracle: public ZoneObject {
45 public: 45 public:
46 TypeFeedbackOracle(Handle<Code> code, 46 TypeFeedbackOracle(Handle<Code> code,
47 Handle<FixedArray> feedback_vector,
48 Handle<Context> native_context, 47 Handle<Context> native_context,
49 Zone* zone); 48 Zone* zone);
50 49
51 bool LoadIsUninitialized(TypeFeedbackId id); 50 bool LoadIsUninitialized(TypeFeedbackId id);
52 bool StoreIsUninitialized(TypeFeedbackId id); 51 bool StoreIsUninitialized(TypeFeedbackId id);
53 bool StoreIsKeyedPolymorphic(TypeFeedbackId id); 52 bool StoreIsKeyedPolymorphic(TypeFeedbackId id);
54 bool CallIsMonomorphic(int slot); 53 bool CallIsMonomorphic(int slot);
55 bool CallIsMonomorphic(TypeFeedbackId aid); 54 bool CallIsMonomorphic(TypeFeedbackId aid);
56 bool KeyedArrayCallIsHoley(TypeFeedbackId id); 55 bool KeyedArrayCallIsHoley(TypeFeedbackId id);
57 bool CallNewIsMonomorphic(int slot); 56 bool CallNewIsMonomorphic(int slot);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 Zone* zone_; 146 Zone* zone_;
148 Handle<UnseededNumberDictionary> dictionary_; 147 Handle<UnseededNumberDictionary> dictionary_;
149 Handle<FixedArray> feedback_vector_; 148 Handle<FixedArray> feedback_vector_;
150 149
151 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 150 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
152 }; 151 };
153 152
154 } } // namespace v8::internal 153 } } // namespace v8::internal
155 154
156 #endif // V8_TYPE_INFO_H_ 155 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698