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

Unified Diff: src/hydrogen.cc

Issue 1070803002: [crankshaft] Fix interceptor shadowing constant global property. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. 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 | « no previous file | test/cctest/cctest.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 6fc434cbae45cbbd6ecb7007e767b7cfa092e84f..04d3cc78ab3ced0418b46ec429c8ad608d364e25 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -5346,8 +5346,7 @@ void HOptimizedGraphBuilder::VisitVariableProxy(VariableProxy* expr) {
}
}
- LookupIterator it(global, variable->name(),
- LookupIterator::OWN_SKIP_INTERCEPTOR);
+ LookupIterator it(global, variable->name(), LookupIterator::OWN);
GlobalPropertyAccess type = LookupGlobalProperty(variable, &it, LOAD);
if (type == kUseCell) {
@@ -6510,7 +6509,7 @@ void HOptimizedGraphBuilder::HandleGlobalVariableAssignment(
}
}
- LookupIterator it(global, var->name(), LookupIterator::OWN_SKIP_INTERCEPTOR);
+ LookupIterator it(global, var->name(), LookupIterator::OWN);
GlobalPropertyAccess type = LookupGlobalProperty(var, &it, STORE);
if (type == kUseCell) {
Handle<PropertyCell> cell = it.GetPropertyCell();
« no previous file with comments | « no previous file | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698