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

Unified Diff: src/compiler.h

Issue 358363002: Move platform abstraction to base library (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 side-by-side diff with in-line comments
Download patch
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index fdb79005085ed89dd97b2d0369cf52ba5eca8b67..3aa845858f29e439ebf1485f3621d9c9fee01c2c 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -584,9 +584,9 @@ class OptimizedCompileJob: public ZoneObject {
HOptimizedGraphBuilder* graph_builder_;
HGraph* graph_;
LChunk* chunk_;
- TimeDelta time_taken_to_create_graph_;
- TimeDelta time_taken_to_optimize_;
- TimeDelta time_taken_to_codegen_;
+ base::TimeDelta time_taken_to_create_graph_;
+ base::TimeDelta time_taken_to_optimize_;
+ base::TimeDelta time_taken_to_codegen_;
Status last_status_;
bool awaiting_install_;
@@ -597,7 +597,7 @@ class OptimizedCompileJob: public ZoneObject {
void RecordOptimizationStats();
struct Timer {
- Timer(OptimizedCompileJob* job, TimeDelta* location)
+ Timer(OptimizedCompileJob* job, base::TimeDelta* location)
: job_(job), location_(location) {
ASSERT(location_ != NULL);
timer_.Start();
@@ -608,8 +608,8 @@ class OptimizedCompileJob: public ZoneObject {
}
OptimizedCompileJob* job_;
- ElapsedTimer timer_;
- TimeDelta* location_;
+ base::ElapsedTimer timer_;
+ base::TimeDelta* location_;
};
};
@@ -702,7 +702,7 @@ class CompilationPhase BASE_EMBEDDED {
CompilationInfo* info_;
Zone zone_;
unsigned info_zone_start_allocation_size_;
- ElapsedTimer timer_;
+ base::ElapsedTimer timer_;
DISALLOW_COPY_AND_ASSIGN(CompilationPhase);
};
« src/base/macros.h ('K') | « src/code-stubs-hydrogen.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698