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

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

Issue 1185343005: Revert of Revert of [strong] Implement strong mode restrictions on property access (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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.h ('k') | src/hydrogen.h » ('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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/ast.h" 7 #include "src/ast.h"
8 #include "src/ast-numbering.h" 8 #include "src/ast-numbering.h"
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 masm_->set_predictable_code_size(true); 462 masm_->set_predictable_code_size(true);
463 } 463 }
464 464
465 465
466 void FullCodeGenerator::PrepareForBailout(Expression* node, State state) { 466 void FullCodeGenerator::PrepareForBailout(Expression* node, State state) {
467 PrepareForBailoutForId(node->id(), state); 467 PrepareForBailoutForId(node->id(), state);
468 } 468 }
469 469
470 470
471 void FullCodeGenerator::CallLoadIC(ContextualMode contextual_mode, 471 void FullCodeGenerator::CallLoadIC(ContextualMode contextual_mode,
472 LanguageMode language_mode,
472 TypeFeedbackId id) { 473 TypeFeedbackId id) {
473 Handle<Code> ic = CodeFactory::LoadIC(isolate(), contextual_mode).code(); 474 Handle<Code> ic =
475 CodeFactory::LoadIC(isolate(), contextual_mode, language_mode).code();
474 CallIC(ic, id); 476 CallIC(ic, id);
475 } 477 }
476 478
477 479
478 void FullCodeGenerator::CallGlobalLoadIC(Handle<String> name) { 480 void FullCodeGenerator::CallGlobalLoadIC(Handle<String> name) {
479 return CallLoadIC(CONTEXTUAL); 481 return CallLoadIC(CONTEXTUAL);
480 } 482 }
481 483
482 484
483 void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) { 485 void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) {
(...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1697 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS); 1699 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS);
1698 codegen_->scope_ = saved_scope_; 1700 codegen_->scope_ = saved_scope_;
1699 } 1701 }
1700 1702
1701 1703
1702 #undef __ 1704 #undef __
1703 1705
1704 1706
1705 } // namespace internal 1707 } // namespace internal
1706 } // namespace v8 1708 } // namespace v8
OLDNEW
« no previous file with comments | « src/full-codegen.h ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698