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

Side by Side Diff: src/compiler/ast-graph-builder.cc

Issue 650073002: vector-based ICs did not update type feedback counts correctly. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE. Created 6 years, 2 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 | « src/compiler/ast-graph-builder.h ('k') | src/compiler/js-operator.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/ast-graph-builder.h" 5 #include "src/compiler/ast-graph-builder.h"
6 6
7 #include "src/compiler.h" 7 #include "src/compiler.h"
8 #include "src/compiler/control-builders.h" 8 #include "src/compiler/control-builders.h"
9 #include "src/compiler/machine-operator.h" 9 #include "src/compiler/machine-operator.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 ast_context()->ReplaceValue(); 1710 ast_context()->ReplaceValue();
1711 } 1711 }
1712 1712
1713 1713
1714 StrictMode AstGraphBuilder::strict_mode() const { 1714 StrictMode AstGraphBuilder::strict_mode() const {
1715 return info()->strict_mode(); 1715 return info()->strict_mode();
1716 } 1716 }
1717 1717
1718 1718
1719 VectorSlotPair AstGraphBuilder::CreateVectorSlotPair( 1719 VectorSlotPair AstGraphBuilder::CreateVectorSlotPair(
1720 FeedbackVectorSlot slot) const { 1720 FeedbackVectorICSlot slot) const {
1721 return VectorSlotPair(handle(info()->shared_info()->feedback_vector()), slot); 1721 return VectorSlotPair(handle(info()->shared_info()->feedback_vector()), slot);
1722 } 1722 }
1723 1723
1724 1724
1725 Node* AstGraphBuilder::ProcessArguments(const Operator* op, int arity) { 1725 Node* AstGraphBuilder::ProcessArguments(const Operator* op, int arity) {
1726 DCHECK(environment()->stack_height() >= arity); 1726 DCHECK(environment()->stack_height() >= arity);
1727 Node** all = info()->zone()->NewArray<Node*>(arity); 1727 Node** all = info()->zone()->NewArray<Node*>(arity);
1728 for (int i = arity - 1; i >= 0; --i) { 1728 for (int i = arity - 1; i >= 0; --i) {
1729 all[i] = environment()->Pop(); 1729 all[i] = environment()->Pop();
1730 } 1730 }
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
2116 DCHECK(NodeProperties::GetFrameStateInput(node)->opcode() == 2116 DCHECK(NodeProperties::GetFrameStateInput(node)->opcode() ==
2117 IrOpcode::kDead); 2117 IrOpcode::kDead);
2118 NodeProperties::ReplaceFrameStateInput( 2118 NodeProperties::ReplaceFrameStateInput(
2119 node, environment()->Checkpoint(ast_id, combine)); 2119 node, environment()->Checkpoint(ast_id, combine));
2120 } 2120 }
2121 } 2121 }
2122 2122
2123 } 2123 }
2124 } 2124 }
2125 } // namespace v8::internal::compiler 2125 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.h ('k') | src/compiler/js-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698