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

Unified Diff: src/typing.h

Issue 137403009: Adding a type vector to replace type cells. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Smarter vector allocation and refactoring. Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: src/typing.h
diff --git a/src/typing.h b/src/typing.h
index 0517812ec3061e9aed31c21019e81d504c48e1d0..05ba60337c8378bca6c839f9125cdf7b62d6605b 100644
--- a/src/typing.h
+++ b/src/typing.h
@@ -60,6 +60,7 @@ class AstTyper: public AstVisitor {
Effect ObservedOnStack(Object* value);
void ObserveTypesAtOsrEntry(IterationStatement* stmt);
+ void InitializeFeedbackSlots(AstNode* expr);
static const int kNoVar = INT_MIN;
typedef v8::internal::Effects<int, kNoVar> Effects;
@@ -68,6 +69,7 @@ class AstTyper: public AstVisitor {
CompilationInfo* info_;
TypeFeedbackOracle oracle_;
Store store_;
+ int current_feedback_slot_;
TypeFeedbackOracle* oracle() { return &oracle_; }
« src/ia32/code-stubs-ia32.cc ('K') | « src/type-info.cc ('k') | src/typing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698