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

Side by Side Diff: src/hydrogen.cc

Issue 23526063: Turn of polymorphic getter inlining since it breaks webkit tests (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4699 matching lines...) Expand 10 before | Expand all | Expand 10 after
4710 ++count; 4710 ++count;
4711 HBasicBlock* if_true = graph()->CreateBasicBlock(); 4711 HBasicBlock* if_true = graph()->CreateBasicBlock();
4712 HBasicBlock* if_false = graph()->CreateBasicBlock(); 4712 HBasicBlock* if_false = graph()->CreateBasicBlock();
4713 HCompareMap* compare = new(zone()) HCompareMap( 4713 HCompareMap* compare = new(zone()) HCompareMap(
4714 object, info.map(), if_true, if_false); 4714 object, info.map(), if_true, if_false);
4715 current_block()->Finish(compare); 4715 current_block()->Finish(compare);
4716 4716
4717 set_current_block(if_true); 4717 set_current_block(if_true);
4718 4718
4719 HInstruction* load = BuildLoadMonomorphic( 4719 HInstruction* load = BuildLoadMonomorphic(
4720 &info, object, compare, ast_id, return_id, FLAG_polymorphic_inlining); 4720 &info, object, compare, ast_id, return_id, false);
4721 if (load == NULL) { 4721 if (load == NULL) {
4722 if (HasStackOverflow()) return; 4722 if (HasStackOverflow()) return;
4723 } else { 4723 } else {
4724 if (!load->IsLinked()) { 4724 if (!load->IsLinked()) {
4725 load->set_position(position); 4725 load->set_position(position);
4726 AddInstruction(load); 4726 AddInstruction(load);
4727 } 4727 }
4728 if (!ast_context()->IsEffect()) Push(load); 4728 if (!ast_context()->IsEffect()) Push(load);
4729 } 4729 }
4730 4730
(...skipping 4901 matching lines...) Expand 10 before | Expand all | Expand 10 after
9632 if (ShouldProduceTraceOutput()) { 9632 if (ShouldProduceTraceOutput()) {
9633 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 9633 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
9634 } 9634 }
9635 9635
9636 #ifdef DEBUG 9636 #ifdef DEBUG
9637 graph_->Verify(false); // No full verify. 9637 graph_->Verify(false); // No full verify.
9638 #endif 9638 #endif
9639 } 9639 }
9640 9640
9641 } } // namespace v8::internal 9641 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698