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

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

Issue 18094: Fix a bunch of spelling mistakes :\ (Closed)
Patch Set: More fixes. Created 11 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 unified diff | Download patch
« no previous file with comments | « src/simulator-arm.h ('k') | src/spaces.h » ('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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 27 matching lines...) Expand all
38 // Only build the simulator if not compiling for real ARM hardware. 38 // Only build the simulator if not compiling for real ARM hardware.
39 namespace assembler { namespace arm { 39 namespace assembler { namespace arm {
40 40
41 using ::v8::internal::Object; 41 using ::v8::internal::Object;
42 using ::v8::internal::PrintF; 42 using ::v8::internal::PrintF;
43 using ::v8::internal::OS; 43 using ::v8::internal::OS;
44 using ::v8::internal::ReadLine; 44 using ::v8::internal::ReadLine;
45 using ::v8::internal::DeleteArray; 45 using ::v8::internal::DeleteArray;
46 46
47 // This macro provides a platform independent use of sscanf. The reason for 47 // This macro provides a platform independent use of sscanf. The reason for
48 // SScanF not beeing implemented in a platform independent was through 48 // SScanF not being implemented in a platform independent was through
49 // ::v8::internal::OS in the same way as SNPrintF is that the Windows C Run-Time 49 // ::v8::internal::OS in the same way as SNPrintF is that the Windows C Run-Time
50 // Library does not provide vsscanf. 50 // Library does not provide vsscanf.
51 #define SScanF sscanf // NOLINT 51 #define SScanF sscanf // NOLINT
52 52
53 // The Debugger class is used by the simulator while debugging simulated ARM 53 // The Debugger class is used by the simulator while debugging simulated ARM
54 // code. 54 // code.
55 class Debugger { 55 class Debugger {
56 public: 56 public:
57 explicit Debugger(Simulator* sim); 57 explicit Debugger(Simulator* sim);
58 ~Debugger(); 58 ~Debugger();
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1589 set_register(r10, r10_val); 1589 set_register(r10, r10_val);
1590 set_register(r11, r11_val); 1590 set_register(r11, r11_val);
1591 1591
1592 int result = get_register(r0); 1592 int result = get_register(r0);
1593 return reinterpret_cast<Object*>(result); 1593 return reinterpret_cast<Object*>(result);
1594 } 1594 }
1595 1595
1596 } } // namespace assembler::arm 1596 } } // namespace assembler::arm
1597 1597
1598 #endif // !defined(__arm__) 1598 #endif // !defined(__arm__)
OLDNEW
« no previous file with comments | « src/simulator-arm.h ('k') | src/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698