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

Side by Side Diff: src/hydrogen.h

Issue 16858018: Make Zone::allocation_size work with parallel zones. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/compiler.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 1917 matching lines...) Expand 10 before | Expand all | Expand 10 after
1928 unsigned total_size_; 1928 unsigned total_size_;
1929 int64_t full_code_gen_; 1929 int64_t full_code_gen_;
1930 double source_size_; 1930 double source_size_;
1931 }; 1931 };
1932 1932
1933 1933
1934 class HPhase BASE_EMBEDDED { 1934 class HPhase BASE_EMBEDDED {
1935 public: 1935 public:
1936 static const char* const kFullCodeGen; 1936 static const char* const kFullCodeGen;
1937 1937
1938 HPhase(const char* name, Isolate* isolate); 1938 HPhase(const char* name, Isolate* isolate, Zone* zone);
1939 HPhase(const char* name, HGraph* graph); 1939 HPhase(const char* name, HGraph* graph);
1940 HPhase(const char* name, LChunk* chunk); 1940 HPhase(const char* name, LChunk* chunk);
1941 HPhase(const char* name, LAllocator* allocator); 1941 HPhase(const char* name, LAllocator* allocator);
1942 ~HPhase(); 1942 ~HPhase();
1943 1943
1944 private: 1944 private:
1945 void Init(Isolate* isolate, 1945 void Init(Isolate* isolate,
1946 const char* name, 1946 const char* name,
1947 Zone* zone,
1947 HGraph* graph, 1948 HGraph* graph,
1948 LChunk* chunk, 1949 LChunk* chunk,
1949 LAllocator* allocator); 1950 LAllocator* allocator);
1950 1951
1951 Isolate* isolate_; 1952 Isolate* isolate_;
1952 const char* name_; 1953 const char* name_;
1954 Zone* zone_;
1953 HGraph* graph_; 1955 HGraph* graph_;
1954 LChunk* chunk_; 1956 LChunk* chunk_;
1955 LAllocator* allocator_; 1957 LAllocator* allocator_;
1956 int64_t start_ticks_; 1958 int64_t start_ticks_;
1957 unsigned start_allocation_size_; 1959 unsigned start_allocation_size_;
1958 }; 1960 };
1959 1961
1960 1962
1961 class HTracer: public Malloced { 1963 class HTracer: public Malloced {
1962 public: 1964 public:
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
2036 EmbeddedVector<char, 64> filename_; 2038 EmbeddedVector<char, 64> filename_;
2037 HeapStringAllocator string_allocator_; 2039 HeapStringAllocator string_allocator_;
2038 StringStream trace_; 2040 StringStream trace_;
2039 int indent_; 2041 int indent_;
2040 }; 2042 };
2041 2043
2042 2044
2043 } } // namespace v8::internal 2045 } } // namespace v8::internal
2044 2046
2045 #endif // V8_HYDROGEN_H_ 2047 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698