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

Unified Diff: src/interpreter/bytecode-register-optimizer.h

Issue 2416243002: Make unittests work in component build (Closed)
Patch Set: updates Created 4 years, 2 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
« no previous file with comments | « src/interpreter/bytecode-pipeline.h ('k') | src/interpreter/bytecode-register-optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/bytecode-register-optimizer.h
diff --git a/src/interpreter/bytecode-register-optimizer.h b/src/interpreter/bytecode-register-optimizer.h
index eda22e5f4d91ae245ce8525f7c6998156251f937..b5e326c3718e675a26e92c21cc44d0db68e1e3f6 100644
--- a/src/interpreter/bytecode-register-optimizer.h
+++ b/src/interpreter/bytecode-register-optimizer.h
@@ -5,6 +5,8 @@
#ifndef V8_INTERPRETER_BYTECODE_REGISTER_OPTIMIZER_H_
#define V8_INTERPRETER_BYTECODE_REGISTER_OPTIMIZER_H_
+#include "src/base/compiler-specific.h"
+#include "src/globals.h"
#include "src/interpreter/bytecode-pipeline.h"
namespace v8 {
@@ -15,10 +17,10 @@ namespace interpreter {
// registers. The bytecode generator uses temporary registers
// liberally for correctness and convenience and this stage removes
// transfers that are not required and preserves correctness.
-class BytecodeRegisterOptimizer final
- : public BytecodePipelineStage,
- public BytecodeRegisterAllocator::Observer,
- public ZoneObject {
+class V8_EXPORT_PRIVATE BytecodeRegisterOptimizer final
+ : public NON_EXPORTED_BASE(BytecodePipelineStage),
+ public NON_EXPORTED_BASE(BytecodeRegisterAllocator::Observer),
+ public NON_EXPORTED_BASE(ZoneObject) {
public:
BytecodeRegisterOptimizer(Zone* zone,
BytecodeRegisterAllocator* register_allocator,
@@ -36,7 +38,7 @@ class BytecodeRegisterOptimizer final
Handle<FixedArray> handler_table) override;
private:
- static const uint32_t kInvalidEquivalenceId = kMaxUInt32;
+ static const uint32_t kInvalidEquivalenceId;
class RegisterInfo;
« no previous file with comments | « src/interpreter/bytecode-pipeline.h ('k') | src/interpreter/bytecode-register-optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698