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

Side by Side Diff: runtime/vm/simulator_arm.cc

Issue 1723733002: Simplify various name flavors in VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 4 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
« no previous file with comments | « runtime/vm/profiler_service.cc ('k') | runtime/vm/simulator_arm64.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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include <setjmp.h> // NOLINT 5 #include <setjmp.h> // NOLINT
6 #include <stdlib.h> 6 #include <stdlib.h>
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #if defined(TARGET_ARCH_ARM) 9 #if defined(TARGET_ARCH_ARM)
10 10
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 return token_pos; 262 return token_pos;
263 } 263 }
264 264
265 265
266 void SimulatorDebugger::PrintDartFrame(uword pc, uword fp, uword sp, 266 void SimulatorDebugger::PrintDartFrame(uword pc, uword fp, uword sp,
267 const Function& function, 267 const Function& function,
268 TokenPosition token_pos, 268 TokenPosition token_pos,
269 bool is_optimized, 269 bool is_optimized,
270 bool is_inlined) { 270 bool is_inlined) {
271 const Script& script = Script::Handle(function.script()); 271 const Script& script = Script::Handle(function.script());
272 const String& func_name = String::Handle(function.QualifiedUserVisibleName()); 272 const String& func_name = String::Handle(function.QualifiedScrubbedName());
273 const String& url = String::Handle(script.url()); 273 const String& url = String::Handle(script.url());
274 intptr_t line = -1; 274 intptr_t line = -1;
275 intptr_t column = -1; 275 intptr_t column = -1;
276 if (token_pos.IsReal()) { 276 if (token_pos.IsReal()) {
277 script.GetTokenLocation(token_pos, &line, &column); 277 script.GetTokenLocation(token_pos, &line, &column);
278 } 278 }
279 OS::Print("pc=0x%" Px " fp=0x%" Px " sp=0x%" Px " %s%s (%s:%" Pd 279 OS::Print("pc=0x%" Px " fp=0x%" Px " sp=0x%" Px " %s%s (%s:%" Pd
280 ":%" Pd ")\n", 280 ":%" Pd ")\n",
281 pc, fp, sp, 281 pc, fp, sp,
282 is_optimized ? (is_inlined ? "inlined " : "optimized ") : "", 282 is_optimized ? (is_inlined ? "inlined " : "optimized ") : "",
(...skipping 3625 matching lines...) Expand 10 before | Expand all | Expand 10 after
3908 set_register(kExceptionObjectReg, bit_cast<int32_t>(raw_exception)); 3908 set_register(kExceptionObjectReg, bit_cast<int32_t>(raw_exception));
3909 set_register(kStackTraceObjectReg, bit_cast<int32_t>(raw_stacktrace)); 3909 set_register(kStackTraceObjectReg, bit_cast<int32_t>(raw_stacktrace));
3910 buf->Longjmp(); 3910 buf->Longjmp();
3911 } 3911 }
3912 3912
3913 } // namespace dart 3913 } // namespace dart
3914 3914
3915 #endif // defined(USING_SIMULATOR) 3915 #endif // defined(USING_SIMULATOR)
3916 3916
3917 #endif // defined TARGET_ARCH_ARM 3917 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/profiler_service.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698