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

Unified Diff: src/typing.h

Issue 100093004: Collect type information based on stack allocated values for OSR. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/typing.cc » ('j') | src/typing.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/typing.h
diff --git a/src/typing.h b/src/typing.h
index 6298e5a41b3d6824f45cc6879e408f48014ce9b0..117ec3d4554b3bc914f16cb536769e4be8a1496a 100644
--- a/src/typing.h
+++ b/src/typing.h
@@ -58,6 +58,10 @@ class AstTyper: public AstVisitor {
private:
explicit AstTyper(CompilationInfo* info);
+ Handle<Type> ObserveType(Object* value);
+ void ObserveTypesOnStack();
+ Handle<Type> GetObservedType(Variable* var);
+
static const int kNoVar = INT_MIN;
typedef v8::internal::Effects<int, kNoVar> Effects;
typedef v8::internal::NestedEffects<int, kNoVar> Store;
@@ -65,6 +69,8 @@ class AstTyper: public AstVisitor {
CompilationInfo* info_;
TypeFeedbackOracle oracle_;
Store store_;
+ ZoneList<Handle<Type> >* parameter_types_;
+ ZoneList<Handle<Type> >* stack_local_types_;
TypeFeedbackOracle* oracle() { return &oracle_; }
Zone* zone() const { return info_->zone(); }
« no previous file with comments | « no previous file | src/typing.cc » ('j') | src/typing.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698