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

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: Ports. 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
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 1694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1705 ast_context()->ReplaceValue(); 1705 ast_context()->ReplaceValue();
1706 } 1706 }
1707 1707
1708 1708
1709 StrictMode AstGraphBuilder::strict_mode() const { 1709 StrictMode AstGraphBuilder::strict_mode() const {
1710 return info()->strict_mode(); 1710 return info()->strict_mode();
1711 } 1711 }
1712 1712
1713 1713
1714 VectorSlotPair AstGraphBuilder::CreateVectorSlotPair( 1714 VectorSlotPair AstGraphBuilder::CreateVectorSlotPair(
1715 FeedbackVectorSlot slot) const { 1715 FeedbackVectorICSlot slot) const {
1716 return VectorSlotPair(handle(info()->shared_info()->feedback_vector()), slot); 1716 return VectorSlotPair(handle(info()->shared_info()->feedback_vector()), slot);
1717 } 1717 }
1718 1718
1719 1719
1720 Node* AstGraphBuilder::ProcessArguments(const Operator* op, int arity) { 1720 Node* AstGraphBuilder::ProcessArguments(const Operator* op, int arity) {
1721 DCHECK(environment()->stack_height() >= arity); 1721 DCHECK(environment()->stack_height() >= arity);
1722 Node** all = info()->zone()->NewArray<Node*>(arity); 1722 Node** all = info()->zone()->NewArray<Node*>(arity);
1723 for (int i = arity - 1; i >= 0; --i) { 1723 for (int i = arity - 1; i >= 0; --i) {
1724 all[i] = environment()->Pop(); 1724 all[i] = environment()->Pop();
1725 } 1725 }
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
2111 DCHECK(NodeProperties::GetFrameStateInput(node)->opcode() == 2111 DCHECK(NodeProperties::GetFrameStateInput(node)->opcode() ==
2112 IrOpcode::kDead); 2112 IrOpcode::kDead);
2113 NodeProperties::ReplaceFrameStateInput( 2113 NodeProperties::ReplaceFrameStateInput(
2114 node, environment()->Checkpoint(ast_id, combine)); 2114 node, environment()->Checkpoint(ast_id, combine));
2115 } 2115 }
2116 } 2116 }
2117 2117
2118 } 2118 }
2119 } 2119 }
2120 } // namespace v8::internal::compiler 2120 } // namespace v8::internal::compiler
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.h ('k') | src/compiler/js-operator.h » ('j') | src/ic/ic.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698