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

Issue 17071002: Add soft-deopt for uninitialized assignment (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 | « src/hydrogen.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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 class TypeFeedbackOracle: public ZoneObject { 239 class TypeFeedbackOracle: public ZoneObject {
240 public: 240 public:
241 TypeFeedbackOracle(Handle<Code> code, 241 TypeFeedbackOracle(Handle<Code> code,
242 Handle<Context> native_context, 242 Handle<Context> native_context,
243 Isolate* isolate, 243 Isolate* isolate,
244 Zone* zone); 244 Zone* zone);
245 245
246 bool LoadIsMonomorphicNormal(Property* expr); 246 bool LoadIsMonomorphicNormal(Property* expr);
247 bool LoadIsUninitialized(Property* expr); 247 bool LoadIsUninitialized(Property* expr);
248 bool LoadIsPolymorphic(Property* expr); 248 bool LoadIsPolymorphic(Property* expr);
249 bool StoreIsUninitialized(TypeFeedbackId ast_id);
249 bool StoreIsMonomorphicNormal(TypeFeedbackId ast_id); 250 bool StoreIsMonomorphicNormal(TypeFeedbackId ast_id);
250 bool StoreIsPolymorphic(TypeFeedbackId ast_id); 251 bool StoreIsPolymorphic(TypeFeedbackId ast_id);
251 bool CallIsMonomorphic(Call* expr); 252 bool CallIsMonomorphic(Call* expr);
252 bool CallNewIsMonomorphic(CallNew* expr); 253 bool CallNewIsMonomorphic(CallNew* expr);
253 bool ObjectLiteralStoreIsMonomorphic(ObjectLiteralProperty* prop); 254 bool ObjectLiteralStoreIsMonomorphic(ObjectLiteralProperty* prop);
254 255
255 // TODO(1571) We can't use ForInStatement::ForInType as the return value due 256 // TODO(1571) We can't use ForInStatement::ForInType as the return value due
256 // to various cycles in our headers. 257 // to various cycles in our headers.
257 byte ForInType(ForInStatement* expr); 258 byte ForInType(ForInStatement* expr);
258 259
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 Isolate* isolate_; 347 Isolate* isolate_;
347 Zone* zone_; 348 Zone* zone_;
348 Handle<UnseededNumberDictionary> dictionary_; 349 Handle<UnseededNumberDictionary> dictionary_;
349 350
350 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 351 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
351 }; 352 };
352 353
353 } } // namespace v8::internal 354 } } // namespace v8::internal
354 355
355 #endif // V8_TYPE_INFO_H_ 356 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/hydrogen.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698