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

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

Issue 1189153002: 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,
473 TypeFeedbackId id) { 472 TypeFeedbackId id) {
474 Handle<Code> ic = 473 Handle<Code> ic = CodeFactory::LoadIC(isolate(), contextual_mode).code();
475 CodeFactory::LoadIC(isolate(), contextual_mode, language_mode).code();
476 CallIC(ic, id); 474 CallIC(ic, id);
477 } 475 }
478 476
479 477
480 void FullCodeGenerator::CallGlobalLoadIC(Handle<String> name) { 478 void FullCodeGenerator::CallGlobalLoadIC(Handle<String> name) {
481 return CallLoadIC(CONTEXTUAL); 479 return CallLoadIC(CONTEXTUAL);
482 } 480 }
483 481
484 482
485 void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) { 483 void FullCodeGenerator::CallStoreIC(TypeFeedbackId id) {
(...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS); 1697 codegen_->PrepareForBailoutForId(exit_id_, NO_REGISTERS);
1700 codegen_->scope_ = saved_scope_; 1698 codegen_->scope_ = saved_scope_;
1701 } 1699 }
1702 1700
1703 1701
1704 #undef __ 1702 #undef __
1705 1703
1706 1704
1707 } // namespace internal 1705 } // namespace internal
1708 } // namespace v8 1706 } // 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