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

Unified Diff: runtime/vm/assembler_arm.cc

Issue 2723213002: DWARF and unwind support for AOT assembly output. (Closed)
Patch Set: . Created 3 years, 9 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
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.cc » ('j') | runtime/vm/dwarf.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.cc
diff --git a/runtime/vm/assembler_arm.cc b/runtime/vm/assembler_arm.cc
index 3618bcedf7154a7a7fe586c4765efda5f168bf47..07a77ab77b540ac29b87377ae87283b1c3bf917c 100644
--- a/runtime/vm/assembler_arm.cc
+++ b/runtime/vm/assembler_arm.cc
@@ -3190,7 +3190,9 @@ void Assembler::EnterFrame(RegList regs, intptr_t frame_size) {
// Set FP to the saved previous FP.
add(FP, SP, Operand(4 * NumRegsBelowFP(regs)));
}
- AddImmediate(SP, -frame_size);
+ if (frame_size != 0) {
+ AddImmediate(SP, -frame_size);
+ }
}
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.cc » ('j') | runtime/vm/dwarf.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698