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

Side by Side Diff: src/hydrogen.h

Issue 18022002: Move phase_zone from CompilationInfo to CompilationPhase. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 1940 matching lines...) Expand 10 before | Expand all | Expand 10 after
1951 int64_t generate_code_; 1951 int64_t generate_code_;
1952 unsigned total_size_; 1952 unsigned total_size_;
1953 int64_t full_code_gen_; 1953 int64_t full_code_gen_;
1954 double source_size_; 1954 double source_size_;
1955 }; 1955 };
1956 1956
1957 1957
1958 class HPhase : public CompilationPhase { 1958 class HPhase : public CompilationPhase {
1959 public: 1959 public:
1960 HPhase(const char* name, HGraph* graph) 1960 HPhase(const char* name, HGraph* graph)
1961 : CompilationPhase(name, graph->isolate(), graph->zone()), 1961 : CompilationPhase(name, graph->info()),
1962 graph_(graph) { } 1962 graph_(graph) { }
1963 ~HPhase(); 1963 ~HPhase();
1964 1964
1965 private: 1965 private:
1966 HGraph* graph_; 1966 HGraph* graph_;
1967 1967
1968 DISALLOW_COPY_AND_ASSIGN(HPhase); 1968 DISALLOW_COPY_AND_ASSIGN(HPhase);
1969 }; 1969 };
1970 1970
1971 1971
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
2047 EmbeddedVector<char, 64> filename_; 2047 EmbeddedVector<char, 64> filename_;
2048 HeapStringAllocator string_allocator_; 2048 HeapStringAllocator string_allocator_;
2049 StringStream trace_; 2049 StringStream trace_;
2050 int indent_; 2050 int indent_;
2051 }; 2051 };
2052 2052
2053 2053
2054 } } // namespace v8::internal 2054 } } // namespace v8::internal
2055 2055
2056 #endif // V8_HYDROGEN_H_ 2056 #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