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

Side by Side Diff: src/hydrogen.h

Issue 328343003: Remove dependency on Vector from platform files (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 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-snapshot-generator.cc ('k') | src/ia32/disasm-ia32.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 "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 2790 matching lines...) Expand 10 before | Expand all | Expand 10 after
2801 2801
2802 DISALLOW_COPY_AND_ASSIGN(HPhase); 2802 DISALLOW_COPY_AND_ASSIGN(HPhase);
2803 }; 2803 };
2804 2804
2805 2805
2806 class HTracer V8_FINAL : public Malloced { 2806 class HTracer V8_FINAL : public Malloced {
2807 public: 2807 public:
2808 explicit HTracer(int isolate_id) 2808 explicit HTracer(int isolate_id)
2809 : trace_(&string_allocator_), indent_(0) { 2809 : trace_(&string_allocator_), indent_(0) {
2810 if (FLAG_trace_hydrogen_file == NULL) { 2810 if (FLAG_trace_hydrogen_file == NULL) {
2811 OS::SNPrintF(filename_, 2811 SNPrintF(filename_,
2812 "hydrogen-%d-%d.cfg", 2812 "hydrogen-%d-%d.cfg",
2813 OS::GetCurrentProcessId(), 2813 OS::GetCurrentProcessId(),
2814 isolate_id); 2814 isolate_id);
2815 } else { 2815 } else {
2816 OS::StrNCpy(filename_, FLAG_trace_hydrogen_file, filename_.length()); 2816 StrNCpy(filename_, FLAG_trace_hydrogen_file, filename_.length());
2817 } 2817 }
2818 WriteChars(filename_.start(), "", 0, false); 2818 WriteChars(filename_.start(), "", 0, false);
2819 } 2819 }
2820 2820
2821 void TraceCompilation(CompilationInfo* info); 2821 void TraceCompilation(CompilationInfo* info);
2822 void TraceHydrogen(const char* name, HGraph* graph); 2822 void TraceHydrogen(const char* name, HGraph* graph);
2823 void TraceLithium(const char* name, LChunk* chunk); 2823 void TraceLithium(const char* name, LChunk* chunk);
2824 void TraceLiveRanges(const char* name, LAllocator* allocator); 2824 void TraceLiveRanges(const char* name, LAllocator* allocator);
2825 2825
2826 private: 2826 private:
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
2900 } 2900 }
2901 2901
2902 private: 2902 private:
2903 HGraphBuilder* builder_; 2903 HGraphBuilder* builder_;
2904 }; 2904 };
2905 2905
2906 2906
2907 } } // namespace v8::internal 2907 } } // namespace v8::internal
2908 2908
2909 #endif // V8_HYDROGEN_H_ 2909 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/ia32/disasm-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698