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

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

Issue 919953002: CPUProfiler: Push deopt reason further to ProfileNode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: unnecessary changes were removed 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 | « src/mips/lithium-codegen-mips.cc ('k') | src/mips64/lithium-codegen-mips64.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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 2564 matching lines...) Expand 10 before | Expand all | Expand 10 after
2575 2575
2576 void Assembler::RecordComment(const char* msg) { 2576 void Assembler::RecordComment(const char* msg) {
2577 if (FLAG_code_comments) { 2577 if (FLAG_code_comments) {
2578 CheckBuffer(); 2578 CheckBuffer();
2579 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg)); 2579 RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg));
2580 } 2580 }
2581 } 2581 }
2582 2582
2583 2583
2584 void Assembler::RecordDeoptReason(const int reason, const int raw_position) { 2584 void Assembler::RecordDeoptReason(const int reason, const int raw_position) {
2585 if (FLAG_trace_deopt) { 2585 if (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling()) {
2586 EnsureSpace ensure_space(this); 2586 EnsureSpace ensure_space(this);
2587 RecordRelocInfo(RelocInfo::POSITION, raw_position); 2587 RecordRelocInfo(RelocInfo::POSITION, raw_position);
2588 RecordRelocInfo(RelocInfo::DEOPT_REASON, reason); 2588 RecordRelocInfo(RelocInfo::DEOPT_REASON, reason);
2589 } 2589 }
2590 } 2590 }
2591 2591
2592 2592
2593 int Assembler::RelocateInternalReference(byte* pc, intptr_t pc_delta) { 2593 int Assembler::RelocateInternalReference(byte* pc, intptr_t pc_delta) {
2594 Instr instr = instr_at(pc); 2594 Instr instr = instr_at(pc);
2595 DCHECK(IsJ(instr) || IsLui(instr)); 2595 DCHECK(IsJ(instr) || IsLui(instr));
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
2941 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { 2941 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {
2942 // No out-of-line constant pool support. 2942 // No out-of-line constant pool support.
2943 DCHECK(!FLAG_enable_ool_constant_pool); 2943 DCHECK(!FLAG_enable_ool_constant_pool);
2944 return; 2944 return;
2945 } 2945 }
2946 2946
2947 2947
2948 } } // namespace v8::internal 2948 } } // namespace v8::internal
2949 2949
2950 #endif // V8_TARGET_ARCH_MIPS64 2950 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698