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

Unified Diff: src/mips/lithium-codegen-mips.cc

Issue 19528003: Unify SoftDeoptimize and Deoptimize hydrogen instructions (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use defaults for Add<HDeoptimize> Created 7 years, 5 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
Index: src/mips/lithium-codegen-mips.cc
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
index 565c2506ba5ef85a67dacf021568016424570e0a..fea5f09d201f0ff8e2dd9a0c061f4ebe1e187fe2 100644
--- a/src/mips/lithium-codegen-mips.cc
+++ b/src/mips/lithium-codegen-mips.cc
@@ -789,9 +789,9 @@ void LCodeGen::DeoptimizeIf(Condition cc,
}
-void LCodeGen::SoftDeoptimize(LEnvironment* environment,
- Register src1,
- const Operand& src2) {
+void LCodeGen::Deoptimize(LEnvironment* environment,
+ Register src1,
+ const Operand& src2) {
ASSERT(!info()->IsStub());
DeoptimizeIf(al, environment, Deoptimizer::SOFT, src1, src2);
}
@@ -5621,8 +5621,8 @@ void LCodeGen::DoLazyBailout(LLazyBailout* instr) {
void LCodeGen::DoDeoptimize(LDeoptimize* instr) {
- if (instr->hydrogen_value()->IsSoftDeoptimize()) {
- SoftDeoptimize(instr->environment(), zero_reg, Operand(zero_reg));
+ if (instr->hydrogen_value()->IsDeoptimize()) {
Jakob Kummerow 2013/07/22 16:53:12 see ARM comment
danno 2013/07/23 12:18:14 Done.
+ Deoptimize(instr->environment(), zero_reg, Operand(zero_reg));
} else {
DeoptimizeIf(al, instr->environment(), zero_reg, Operand(zero_reg));
}

Powered by Google App Engine
This is Rietveld 408576698