Revision: 22874
Author: [email protected]
Date: Tue Aug 5 13:20:26 2014 UTC
Log: Prevent direct inclusion of headers from TF.
[email protected], [email protected]
Review URL: https://codereview.chromium.org/438243004
http://code.google.com/p/v8/source/detail?r=22874
Modified:
/branches/bleeding_edge/src/DEPS
/branches/bleeding_edge/src/compiler/pipeline.cc
/branches/bleeding_edge/src/compiler/pipeline.h
/branches/bleeding_edge/src/v8.cc
=======================================
--- /branches/bleeding_edge/src/DEPS Thu Jul 3 07:37:27 2014 UTC
+++ /branches/bleeding_edge/src/DEPS Tue Aug 5 13:20:26 2014 UTC
@@ -1,5 +1,7 @@
include_rules = [
"+src",
+ "-src/compiler",
+ "+src/compiler/pipeline.h",
"-src/libplatform",
"-include/libplatform",
]
=======================================
--- /branches/bleeding_edge/src/compiler/pipeline.cc Mon Aug 4 11:34:54
2014 UTC
+++ /branches/bleeding_edge/src/compiler/pipeline.cc Tue Aug 5 13:20:26
2014 UTC
@@ -9,6 +9,7 @@
#include "src/compiler/code-generator.h"
#include "src/compiler/graph-replay.h"
#include "src/compiler/graph-visualizer.h"
+#include "src/compiler/instruction.h"
#include "src/compiler/instruction-selector.h"
#include "src/compiler/js-context-specialization.h"
#include "src/compiler/js-generic-lowering.h"
@@ -287,6 +288,16 @@
CodeGenerator generator(&sequence);
return generator.GenerateCode();
}
+
+
+void Pipeline::SetUp() {
+ InstructionOperand::SetUpCaches();
+}
+
+
+void Pipeline::TearDown() {
+ InstructionOperand::TearDownCaches();
+}
} // namespace compiler
} // namespace internal
=======================================
--- /branches/bleeding_edge/src/compiler/pipeline.h Tue Aug 5 11:53:32
2014 UTC
+++ /branches/bleeding_edge/src/compiler/pipeline.h Tue Aug 5 13:20:26
2014 UTC
@@ -49,6 +49,9 @@
return FLAG_turbo_verify;
#endif
}
+
+ static void SetUp();
+ static void TearDown();
private:
CompilationInfo* info_;
=======================================
--- /branches/bleeding_edge/src/v8.cc Mon Aug 4 11:34:54 2014 UTC
+++ /branches/bleeding_edge/src/v8.cc Tue Aug 5 13:20:26 2014 UTC
@@ -8,7 +8,7 @@
#include "src/base/once.h"
#include "src/base/platform/platform.h"
#include "src/bootstrapper.h"
-#include "src/compiler/instruction.h"
+#include "src/compiler/pipeline.h"
#include "src/debug.h"
#include "src/deoptimizer.h"
#include "src/elements.h"
@@ -48,7 +48,7 @@
Bootstrapper::TearDownExtensions();
ElementsAccessor::TearDown();
LOperand::TearDownCaches();
- compiler::InstructionOperand::TearDownCaches();
+ compiler::Pipeline::TearDown();
ExternalReference::TearDownMathExpData();
RegisteredExtension::UnregisterAll();
Isolate::GlobalTearDown();
@@ -90,7 +90,7 @@
#endif
ElementsAccessor::InitializeOncePerProcess();
LOperand::SetUpCaches();
- compiler::InstructionOperand::SetUpCaches();
+ compiler::Pipeline::SetUp();
SetUpJSCallerSavedCodeData();
ExternalReference::SetUp();
Bootstrapper::InitializeOncePerProcess();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.