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

Side by Side Diff: src/arm/simulator-arm.h

Issue 181453002: Reset trunk to 3.24.35.4 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm/stub-cache-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 } 200 }
201 201
202 int get_sinteger_from_s_register(int sreg) { 202 int get_sinteger_from_s_register(int sreg) {
203 return GetFromVFPRegister<int, 1>(sreg); 203 return GetFromVFPRegister<int, 1>(sreg);
204 } 204 }
205 205
206 // Special case of set_register and get_register to access the raw PC value. 206 // Special case of set_register and get_register to access the raw PC value.
207 void set_pc(int32_t value); 207 void set_pc(int32_t value);
208 int32_t get_pc() const; 208 int32_t get_pc() const;
209 209
210 Address get_sp() {
211 return reinterpret_cast<Address>(static_cast<intptr_t>(get_register(sp)));
212 }
213
214 // Accessor to the internal simulator stack area. 210 // Accessor to the internal simulator stack area.
215 uintptr_t StackLimit() const; 211 uintptr_t StackLimit() const;
216 212
217 // Executes ARM instructions until the PC reaches end_sim_pc. 213 // Executes ARM instructions until the PC reaches end_sim_pc.
218 void Execute(); 214 void Execute();
219 215
220 // Call on program start. 216 // Call on program start.
221 static void Initialize(Isolate* isolate); 217 static void Initialize(Isolate* isolate);
222 218
223 // V8 generally calls into generated JS code with 5 parameters and into 219 // V8 generally calls into generated JS code with 5 parameters and into
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 479
484 static inline void UnregisterCTryCatch() { 480 static inline void UnregisterCTryCatch() {
485 Simulator::current(Isolate::Current())->PopAddress(); 481 Simulator::current(Isolate::Current())->PopAddress();
486 } 482 }
487 }; 483 };
488 484
489 } } // namespace v8::internal 485 } } // namespace v8::internal
490 486
491 #endif // !defined(USE_SIMULATOR) 487 #endif // !defined(USE_SIMULATOR)
492 #endif // V8_ARM_SIMULATOR_ARM_H_ 488 #endif // V8_ARM_SIMULATOR_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm/stub-cache-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698