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

Unified Diff: runtime/vm/simulator_arm.h

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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 | « runtime/vm/signal_handler.h ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_arm.h
diff --git a/runtime/vm/simulator_arm.h b/runtime/vm/simulator_arm.h
index 2a505cc2c65e437b45bc93cdbce8bf80ef1b9012..605ccece7852405b42b7e6ed62cde2ba6879182f 100644
--- a/runtime/vm/simulator_arm.h
+++ b/runtime/vm/simulator_arm.h
@@ -52,9 +52,7 @@ class Simulator {
void set_register(Register reg, int32_t value);
int32_t get_register(Register reg) const;
- int32_t get_sp() const {
- return get_register(SPREG);
- }
+ int32_t get_sp() const { return get_register(SPREG); }
// Special case of set_register and get_register to access the raw PC value.
void set_pc(int32_t value);
@@ -177,9 +175,7 @@ class Simulator {
int32_t break_instr_;
// Illegal memory access support.
- static bool IsIllegalAddress(uword addr) {
- return addr < 64*1024;
- }
+ static bool IsIllegalAddress(uword addr) { return addr < 64 * 1024; }
void HandleIllegalAccess(uword addr, Instr* instr);
// Handles a legal instruction that the simulator does not implement.
@@ -273,9 +269,7 @@ class Simulator {
bool IsTracingExecution() const;
// Longjmp support for exceptions.
- SimulatorSetjmpBuffer* last_setjmp_buffer() {
- return last_setjmp_buffer_;
- }
+ SimulatorSetjmpBuffer* last_setjmp_buffer() { return last_setjmp_buffer_; }
void set_last_setjmp_buffer(SimulatorSetjmpBuffer* buffer) {
last_setjmp_buffer_ = buffer;
}
« no previous file with comments | « runtime/vm/signal_handler.h ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698