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

Side by Side Diff: src/hydrogen.h

Issue 12521011: Compile FastCloneShallowArrayStub using Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 7 years, 8 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/deoptimizer.cc ('k') | 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 // 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 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 HValue* to); 1055 HValue* to);
1056 1056
1057 void BuildCopyElements(HValue* context, 1057 void BuildCopyElements(HValue* context,
1058 HValue* from_elements, 1058 HValue* from_elements,
1059 ElementsKind from_elements_kind, 1059 ElementsKind from_elements_kind,
1060 HValue* to_elements, 1060 HValue* to_elements,
1061 ElementsKind to_elements_kind, 1061 ElementsKind to_elements_kind,
1062 HValue* length, 1062 HValue* length,
1063 HValue* capacity); 1063 HValue* capacity);
1064 1064
1065 HValue* BuildCloneShallowArray(HContext* context,
1066 HValue* boilerplate,
1067 AllocationSiteMode mode,
1068 ElementsKind kind,
1069 BailoutId id,
1070 int length);
1071
1065 private: 1072 private:
1066 HGraphBuilder(); 1073 HGraphBuilder();
1067 CompilationInfo* info_; 1074 CompilationInfo* info_;
1068 HGraph* graph_; 1075 HGraph* graph_;
1069 HBasicBlock* current_block_; 1076 HBasicBlock* current_block_;
1070 }; 1077 };
1071 1078
1072 1079
1073 class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor { 1080 class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor {
1074 public: 1081 public:
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1727 EmbeddedVector<char, 64> filename_; 1734 EmbeddedVector<char, 64> filename_;
1728 HeapStringAllocator string_allocator_; 1735 HeapStringAllocator string_allocator_;
1729 StringStream trace_; 1736 StringStream trace_;
1730 int indent_; 1737 int indent_;
1731 }; 1738 };
1732 1739
1733 1740
1734 } } // namespace v8::internal 1741 } } // namespace v8::internal
1735 1742
1736 #endif // V8_HYDROGEN_H_ 1743 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698