| Index: src/crankshaft/mips64/lithium-codegen-mips64.h
|
| diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.h b/src/crankshaft/mips64/lithium-codegen-mips64.h
|
| index aaa2e6be17e2212908dc4fe8315aa939fe1a5663..ba332ae3605426beb16a50702e519bdcea0e411e 100644
|
| --- a/src/crankshaft/mips64/lithium-codegen-mips64.h
|
| +++ b/src/crankshaft/mips64/lithium-codegen-mips64.h
|
| @@ -360,24 +360,9 @@ class LCodeGen: public LCodeGenBase {
|
|
|
| class PushSafepointRegistersScope final BASE_EMBEDDED {
|
| public:
|
| - explicit PushSafepointRegistersScope(LCodeGen* codegen)
|
| - : codegen_(codegen) {
|
| - DCHECK(codegen_->info()->is_calling());
|
| - DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kSimple);
|
| - codegen_->expected_safepoint_kind_ = Safepoint::kWithRegisters;
|
| -
|
| - StoreRegistersStateStub stub(codegen_->isolate());
|
| - codegen_->masm_->push(ra);
|
| - codegen_->masm_->CallStub(&stub);
|
| - }
|
| -
|
| - ~PushSafepointRegistersScope() {
|
| - DCHECK(codegen_->expected_safepoint_kind_ == Safepoint::kWithRegisters);
|
| - RestoreRegistersStateStub stub(codegen_->isolate());
|
| - codegen_->masm_->push(ra);
|
| - codegen_->masm_->CallStub(&stub);
|
| - codegen_->expected_safepoint_kind_ = Safepoint::kSimple;
|
| - }
|
| + explicit PushSafepointRegistersScope(LCodeGen* codegen);
|
| +
|
| + ~PushSafepointRegistersScope();
|
|
|
| private:
|
| LCodeGen* codegen_;
|
|
|