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

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

Issue 915173005: Revert of CPUProfiler: Push deopt reason further to ProfileNode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | src/arm/lithium-codegen-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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 3373 matching lines...) Expand 10 before | Expand all | Expand 10 after
3384 3384
3385 void Assembler::RecordComment(const char* msg) { 3385 void Assembler::RecordComment(const char* msg) {
3386 if (FLAG_code_comments) { 3386 if (FLAG_code_comments) {
3387 CheckBuffer(); 3387 CheckBuffer();
3388 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg)); 3388 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg));
3389 } 3389 }
3390 } 3390 }
3391 3391
3392 3392
3393 void Assembler::RecordDeoptReason(const int reason, const int raw_position) { 3393 void Assembler::RecordDeoptReason(const int reason, const int raw_position) {
3394 if (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling()) { 3394 if (FLAG_trace_deopt) {
3395 EnsureSpace ensure_space(this); 3395 EnsureSpace ensure_space(this);
3396 RecordRelocInfo(RelocInfo::POSITION, raw_position); 3396 RecordRelocInfo(RelocInfo::POSITION, raw_position);
3397 RecordRelocInfo(RelocInfo::DEOPT_REASON, reason); 3397 RecordRelocInfo(RelocInfo::DEOPT_REASON, reason);
3398 } 3398 }
3399 } 3399 }
3400 3400
3401 3401
3402 void Assembler::RecordConstPool(int size) { 3402 void Assembler::RecordConstPool(int size) {
3403 // We only need this for debugger support, to correctly compute offsets in the 3403 // We only need this for debugger support, to correctly compute offsets in the
3404 // code. 3404 // code.
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
4037 assm->instr_at_put( 4037 assm->instr_at_put(
4038 rinfo.pc(), Assembler::SetLdrRegisterImmediateOffset(instr, offset)); 4038 rinfo.pc(), Assembler::SetLdrRegisterImmediateOffset(instr, offset));
4039 } 4039 }
4040 } 4040 }
4041 } 4041 }
4042 4042
4043 4043
4044 } } // namespace v8::internal 4044 } } // namespace v8::internal
4045 4045
4046 #endif // V8_TARGET_ARCH_ARM 4046 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698