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

Side by Side Diff: src/hydrogen.h

Issue 15714005: Deprecate HAllocateObject in favor of HAllocate. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed moar comments by Hannes Payer. Created 7 years, 6 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/heap.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Simple accessors. 60 // Simple accessors.
61 int block_id() const { return block_id_; } 61 int block_id() const { return block_id_; }
62 void set_block_id(int id) { block_id_ = id; } 62 void set_block_id(int id) { block_id_ = id; }
63 HGraph* graph() const { return graph_; } 63 HGraph* graph() const { return graph_; }
64 Isolate* isolate() const; 64 Isolate* isolate() const;
65 const ZoneList<HPhi*>* phis() const { return &phis_; } 65 const ZoneList<HPhi*>* phis() const { return &phis_; }
66 HInstruction* first() const { return first_; } 66 HInstruction* first() const { return first_; }
67 HInstruction* last() const { return last_; } 67 HInstruction* last() const { return last_; }
68 void set_last(HInstruction* instr) { last_ = instr; } 68 void set_last(HInstruction* instr) { last_ = instr; }
69 HInstruction* GetLastInstruction();
70 HControlInstruction* end() const { return end_; } 69 HControlInstruction* end() const { return end_; }
71 HLoopInformation* loop_information() const { return loop_information_; } 70 HLoopInformation* loop_information() const { return loop_information_; }
72 const ZoneList<HBasicBlock*>* predecessors() const { return &predecessors_; } 71 const ZoneList<HBasicBlock*>* predecessors() const { return &predecessors_; }
73 bool HasPredecessor() const { return predecessors_.length() > 0; } 72 bool HasPredecessor() const { return predecessors_.length() > 0; }
74 const ZoneList<HBasicBlock*>* dominated_blocks() const { 73 const ZoneList<HBasicBlock*>* dominated_blocks() const {
75 return &dominated_blocks_; 74 return &dominated_blocks_;
76 } 75 }
77 const ZoneList<int>* deleted_phis() const { 76 const ZoneList<int>* deleted_phis() const {
78 return &deleted_phis_; 77 return &deleted_phis_;
79 } 78 }
(...skipping 1870 matching lines...) Expand 10 before | Expand all | Expand 10 after
1950 EmbeddedVector<char, 64> filename_; 1949 EmbeddedVector<char, 64> filename_;
1951 HeapStringAllocator string_allocator_; 1950 HeapStringAllocator string_allocator_;
1952 StringStream trace_; 1951 StringStream trace_;
1953 int indent_; 1952 int indent_;
1954 }; 1953 };
1955 1954
1956 1955
1957 } } // namespace v8::internal 1956 } } // namespace v8::internal
1958 1957
1959 #endif // V8_HYDROGEN_H_ 1958 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698