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

Unified Diff: src/hydrogen.h

Issue 1067573003: VectorICs: megamorphic keyed loads in crankshaft don't need a vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 5 years, 8 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
« no previous file with comments | « src/code-factory.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 97231a604c976076e6d6ecf74d4ce3f3e363f893..a4451d7a0891bc2a07d8b9f3117053b1c644886c 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -2157,6 +2157,12 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
TestContext* inlined_test_context() const {
return function_state()->test_context();
}
+ Handle<SharedFunctionInfo> current_shared_info() const {
+ return current_info()->shared_info();
+ }
+ TypeFeedbackVector* current_feedback_vector() const {
+ return current_shared_info()->feedback_vector();
+ }
void ClearInlinedTestContext() {
function_state()->ClearInlinedTestContext();
}
« no previous file with comments | « src/code-factory.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698