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

Unified Diff: src/mips64/deoptimizer-mips64.cc

Issue 1638303005: MIPS64: Eliminate ABI-dependent definitions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/mips64/deoptimizer-mips64.cc
diff --git a/src/mips64/deoptimizer-mips64.cc b/src/mips64/deoptimizer-mips64.cc
index 61bdca69591714b54c7dc6da4a943c66334b29b3..a62817a8674590470a6858799deccb9d1ba20e80 100644
--- a/src/mips64/deoptimizer-mips64.cc
+++ b/src/mips64/deoptimizer-mips64.cc
@@ -188,15 +188,9 @@ void Deoptimizer::TableEntryGenerator::Generate() {
__ ld(a0, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
// a2: bailout id already loaded.
// a3: code address or 0 already loaded.
- if (kMipsAbi == kN64) {
- // a4: already has fp-to-sp delta.
- __ li(a5, Operand(ExternalReference::isolate_address(isolate())));
- } else { // O32 abi.
- // Pass four arguments in a0 to a3 and fifth & sixth arguments on stack.
- __ sd(a4, CFunctionArgumentOperand(5)); // Fp-to-sp delta.
- __ li(a5, Operand(ExternalReference::isolate_address(isolate())));
- __ sd(a5, CFunctionArgumentOperand(6)); // Isolate.
- }
+ // a4: already has fp-to-sp delta.
+ __ li(a5, Operand(ExternalReference::isolate_address(isolate())));
+
// Call Deoptimizer::New().
{
AllowExternalCallThatCantCauseGC scope(masm());

Powered by Google App Engine
This is Rietveld 408576698