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

Side by Side Diff: src/full-codegen/full-codegen.cc

Issue 1700993002: Remove strong mode support from property loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 4 years, 10 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
« no previous file with comments | « src/full-codegen/full-codegen.h ('k') | src/full-codegen/ia32/full-codegen-ia32.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/full-codegen/full-codegen.h" 5 #include "src/full-codegen/full-codegen.h"
6 6
7 #include "src/ast/ast.h" 7 #include "src/ast/ast.h"
8 #include "src/ast/ast-numbering.h" 8 #include "src/ast/ast-numbering.h"
9 #include "src/ast/prettyprinter.h" 9 #include "src/ast/prettyprinter.h"
10 #include "src/ast/scopeinfo.h" 10 #include "src/ast/scopeinfo.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 masm_->set_predictable_code_size(true); 174 masm_->set_predictable_code_size(true);
175 } 175 }
176 176
177 177
178 void FullCodeGenerator::PrepareForBailout(Expression* node, State state) { 178 void FullCodeGenerator::PrepareForBailout(Expression* node, State state) {
179 PrepareForBailoutForId(node->id(), state); 179 PrepareForBailoutForId(node->id(), state);
180 } 180 }
181 181
182 182
183 void FullCodeGenerator::CallLoadIC(TypeofMode typeof_mode, 183 void FullCodeGenerator::CallLoadIC(TypeofMode typeof_mode,
184 LanguageMode language_mode,
185 TypeFeedbackId id) { 184 TypeFeedbackId id) {
186 Handle<Code> ic = 185 Handle<Code> ic = CodeFactory::LoadIC(isolate(), typeof_mode).code();
187 CodeFactory::LoadIC(isolate(), typeof_mode, language_mode).code();
188 CallIC(ic, id); 186 CallIC(ic, id);
189 } 187 }
190 188
191 189
192 void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) { 190 void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) {
193 Handle<Code> ic = CodeFactory::StoreIC(isolate(), language_mode()).code(); 191 Handle<Code> ic = CodeFactory::StoreIC(isolate(), language_mode()).code();
194 CallIC(ic, id); 192 CallIC(ic, id);
195 } 193 }
196 194
197 195
(...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 return var->mode() == CONST_LEGACY || var->scope()->is_nonlinear() || 1790 return var->mode() == CONST_LEGACY || var->scope()->is_nonlinear() ||
1793 var->initializer_position() >= proxy->position(); 1791 var->initializer_position() >= proxy->position();
1794 } 1792 }
1795 1793
1796 1794
1797 #undef __ 1795 #undef __
1798 1796
1799 1797
1800 } // namespace internal 1798 } // namespace internal
1801 } // namespace v8 1799 } // namespace v8
OLDNEW
« no previous file with comments | « src/full-codegen/full-codegen.h ('k') | src/full-codegen/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698