Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index d656d583e42a90e785d567a46fa189320c3fd865..5d543e4fac2c357a341a7d58dcde22794647efe2 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -99,7 +99,7 @@ Code::Kind CodeStub::GetCodeKind() const { |
Code::Flags CodeStub::GetCodeFlags() const { |
- return Code::ComputeFlags(GetCodeKind(), GetICState(), GetExtraICState()); |
+ return Code::ComputeFlags(GetCodeKind(), GetExtraICState()); |
} |
@@ -134,8 +134,7 @@ Handle<Code> PlatformCodeStub::GenerateCode() { |
CodeDesc desc; |
masm.GetCode(&desc); |
// Copy the generated code into a heap object. |
- Code::Flags flags = |
- Code::ComputeFlags(GetCodeKind(), GetICState(), GetExtraICState()); |
+ Code::Flags flags = Code::ComputeFlags(GetCodeKind(), GetExtraICState()); |
Handle<Code> new_object = factory->NewCode( |
desc, flags, masm.CodeObject(), NeedsImmovableCode()); |
return new_object; |