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

Unified Diff: src/deoptimizer.cc

Issue 1221433021: Move SmartPointer to base. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove some unecessary header includes Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« BUILD.gn ('K') | « src/d8.h ('k') | src/disassembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index 40f1db3d57aead60040ffc849f5d7b27f7bfd13b..c5b4f178d65232c749abc70b1addab059caf39dc 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -2688,7 +2688,8 @@ TranslatedFrame TranslatedState::CreateNextTranslatedFrame(
SharedFunctionInfo::cast(literal_array->get(iterator->Next()));
int height = iterator->Next();
if (trace_file != nullptr) {
- SmartArrayPointer<char> name = shared_info->DebugName()->ToCString();
+ base::SmartArrayPointer<char> name =
+ shared_info->DebugName()->ToCString();
PrintF(trace_file, " reading input frame %s", name.get());
int arg_count = shared_info->internal_formal_parameter_count() + 1;
PrintF(trace_file, " => node=%d, args=%d, height=%d; inputs:\n",
@@ -2702,7 +2703,8 @@ TranslatedFrame TranslatedState::CreateNextTranslatedFrame(
SharedFunctionInfo::cast(literal_array->get(iterator->Next()));
int height = iterator->Next();
if (trace_file != nullptr) {
- SmartArrayPointer<char> name = shared_info->DebugName()->ToCString();
+ base::SmartArrayPointer<char> name =
+ shared_info->DebugName()->ToCString();
PrintF(trace_file, " reading arguments adaptor frame %s", name.get());
PrintF(trace_file, " => height=%d; inputs:\n", height);
}
@@ -2714,7 +2716,8 @@ TranslatedFrame TranslatedState::CreateNextTranslatedFrame(
SharedFunctionInfo::cast(literal_array->get(iterator->Next()));
int height = iterator->Next();
if (trace_file != nullptr) {
- SmartArrayPointer<char> name = shared_info->DebugName()->ToCString();
+ base::SmartArrayPointer<char> name =
+ shared_info->DebugName()->ToCString();
PrintF(trace_file, " reading construct stub frame %s", name.get());
PrintF(trace_file, " => height=%d; inputs:\n", height);
}
@@ -2725,7 +2728,8 @@ TranslatedFrame TranslatedState::CreateNextTranslatedFrame(
SharedFunctionInfo* shared_info =
SharedFunctionInfo::cast(literal_array->get(iterator->Next()));
if (trace_file != nullptr) {
- SmartArrayPointer<char> name = shared_info->DebugName()->ToCString();
+ base::SmartArrayPointer<char> name =
+ shared_info->DebugName()->ToCString();
PrintF(trace_file, " reading getter frame %s; inputs:\n", name.get());
}
return TranslatedFrame::AccessorFrame(TranslatedFrame::kGetter,
@@ -2736,7 +2740,8 @@ TranslatedFrame TranslatedState::CreateNextTranslatedFrame(
SharedFunctionInfo* shared_info =
SharedFunctionInfo::cast(literal_array->get(iterator->Next()));
if (trace_file != nullptr) {
- SmartArrayPointer<char> name = shared_info->DebugName()->ToCString();
+ base::SmartArrayPointer<char> name =
+ shared_info->DebugName()->ToCString();
PrintF(trace_file, " reading setter frame %s; inputs:\n", name.get());
}
return TranslatedFrame::AccessorFrame(TranslatedFrame::kSetter,
« BUILD.gn ('K') | « src/d8.h ('k') | src/disassembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698