Commit 99934ee2 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[compiler] Remove dead kMustNotHaveEagerFrame flag.

R=bmeurer@chromium.org

Review-Url: https://codereview.chromium.org/2457763003
Cr-Commit-Position: refs/heads/master@{#40643}
parent 50a5853f
...@@ -37,20 +37,19 @@ class CompilationInfo final { ...@@ -37,20 +37,19 @@ class CompilationInfo final {
kNonDeferredCalling = 1 << 1, kNonDeferredCalling = 1 << 1,
kSavesCallerDoubles = 1 << 2, kSavesCallerDoubles = 1 << 2,
kRequiresFrame = 1 << 3, kRequiresFrame = 1 << 3,
kMustNotHaveEagerFrame = 1 << 4, kDeoptimizationSupport = 1 << 4,
kDeoptimizationSupport = 1 << 5, kAccessorInliningEnabled = 1 << 5,
kAccessorInliningEnabled = 1 << 6, kSerializing = 1 << 6,
kSerializing = 1 << 7, kFunctionContextSpecializing = 1 << 7,
kFunctionContextSpecializing = 1 << 8, kFrameSpecializing = 1 << 8,
kFrameSpecializing = 1 << 9, kInliningEnabled = 1 << 9,
kInliningEnabled = 1 << 10, kDisableFutureOptimization = 1 << 10,
kDisableFutureOptimization = 1 << 11, kSplittingEnabled = 1 << 11,
kSplittingEnabled = 1 << 12, kDeoptimizationEnabled = 1 << 12,
kDeoptimizationEnabled = 1 << 13, kSourcePositionsEnabled = 1 << 13,
kSourcePositionsEnabled = 1 << 14, kBailoutOnUninitialized = 1 << 14,
kBailoutOnUninitialized = 1 << 15, kOptimizeFromBytecode = 1 << 15,
kOptimizeFromBytecode = 1 << 16, kTypeFeedbackEnabled = 1 << 16,
kTypeFeedbackEnabled = 1 << 17,
}; };
CompilationInfo(ParseInfo* parse_info, Handle<JSFunction> closure); CompilationInfo(ParseInfo* parse_info, Handle<JSFunction> closure);
...@@ -110,12 +109,6 @@ class CompilationInfo final { ...@@ -110,12 +109,6 @@ class CompilationInfo final {
bool requires_frame() const { return GetFlag(kRequiresFrame); } bool requires_frame() const { return GetFlag(kRequiresFrame); }
void MarkMustNotHaveEagerFrame() { SetFlag(kMustNotHaveEagerFrame); }
bool GetMustNotHaveEagerFrame() const {
return GetFlag(kMustNotHaveEagerFrame);
}
// Compiles marked as debug produce unoptimized code with debug break slots. // Compiles marked as debug produce unoptimized code with debug break slots.
// Inner functions that cannot be compiled w/o context are compiled eagerly. // Inner functions that cannot be compiled w/o context are compiled eagerly.
// Always include deoptimization support to avoid having to recompile again. // Always include deoptimization support to avoid having to recompile again.
......
...@@ -468,8 +468,6 @@ Handle<Code> LChunk::Codegen() { ...@@ -468,8 +468,6 @@ Handle<Code> LChunk::Codegen() {
code->set_is_crankshafted(true); code->set_is_crankshafted(true);
CodeGenerator::PrintCode(code, info()); CodeGenerator::PrintCode(code, info());
DCHECK(!(info()->GetMustNotHaveEagerFrame() &&
generator.NeedsEagerFrame()));
return code; return code;
} }
assembler.AbortedCodeGeneration(); assembler.AbortedCodeGeneration();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment