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

Side by Side Diff: src/hydrogen.h

Issue 275453004: Fix new space array check limit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | src/hydrogen.cc » ('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 #ifndef V8_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "v8.h" 8 #include "v8.h"
9 9
10 #include "accessors.h" 10 #include "accessors.h"
(...skipping 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after
1658 HBasicBlock* header_block_; 1658 HBasicBlock* header_block_;
1659 HBasicBlock* body_block_; 1659 HBasicBlock* body_block_;
1660 HBasicBlock* exit_block_; 1660 HBasicBlock* exit_block_;
1661 HBasicBlock* exit_trampoline_block_; 1661 HBasicBlock* exit_trampoline_block_;
1662 Direction direction_; 1662 Direction direction_;
1663 bool finished_; 1663 bool finished_;
1664 }; 1664 };
1665 1665
1666 HValue* BuildNewElementsCapacity(HValue* old_capacity); 1666 HValue* BuildNewElementsCapacity(HValue* old_capacity);
1667 1667
1668 void BuildNewSpaceArrayCheck(HValue* length,
1669 ElementsKind kind);
1670
1671 class JSArrayBuilder V8_FINAL { 1668 class JSArrayBuilder V8_FINAL {
1672 public: 1669 public:
1673 JSArrayBuilder(HGraphBuilder* builder, 1670 JSArrayBuilder(HGraphBuilder* builder,
1674 ElementsKind kind, 1671 ElementsKind kind,
1675 HValue* allocation_site_payload, 1672 HValue* allocation_site_payload,
1676 HValue* constructor_function, 1673 HValue* constructor_function,
1677 AllocationSiteOverrideMode override_mode); 1674 AllocationSiteOverrideMode override_mode);
1678 1675
1679 JSArrayBuilder(HGraphBuilder* builder, 1676 JSArrayBuilder(HGraphBuilder* builder,
1680 ElementsKind kind, 1677 ElementsKind kind,
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
2783 } 2780 }
2784 2781
2785 private: 2782 private:
2786 HGraphBuilder* builder_; 2783 HGraphBuilder* builder_;
2787 }; 2784 };
2788 2785
2789 2786
2790 } } // namespace v8::internal 2787 } } // namespace v8::internal
2791 2788
2792 #endif // V8_HYDROGEN_H_ 2789 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698