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/ia32/lithium-codegen-ia32.cc

Issue 7860011: Rename SmartPointer to SmartArrayPointer. (Closed) Base URL: git://github.com/v8/v8.git@bleeding_edge
Patch Set: rebase it again to get more fixes Created 9 years, 3 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/hydrogen-instructions.cc ('k') | src/ia32/lithium-ia32.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 ASSERT(is_done()); 81 ASSERT(is_done());
82 code->set_stack_slots(GetStackSlotCount()); 82 code->set_stack_slots(GetStackSlotCount());
83 code->set_safepoint_table_offset(safepoints_.GetCodeOffset()); 83 code->set_safepoint_table_offset(safepoints_.GetCodeOffset());
84 PopulateDeoptimizationData(code); 84 PopulateDeoptimizationData(code);
85 Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(code); 85 Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(code);
86 } 86 }
87 87
88 88
89 void LCodeGen::Abort(const char* format, ...) { 89 void LCodeGen::Abort(const char* format, ...) {
90 if (FLAG_trace_bailout) { 90 if (FLAG_trace_bailout) {
91 SmartPointer<char> name(info()->shared_info()->DebugName()->ToCString()); 91 SmartArrayPointer<char> name(
92 info()->shared_info()->DebugName()->ToCString());
92 PrintF("Aborting LCodeGen in @\"%s\": ", *name); 93 PrintF("Aborting LCodeGen in @\"%s\": ", *name);
93 va_list arguments; 94 va_list arguments;
94 va_start(arguments, format); 95 va_start(arguments, format);
95 OS::VPrint(format, arguments); 96 OS::VPrint(format, arguments);
96 va_end(arguments); 97 va_end(arguments);
97 PrintF("\n"); 98 PrintF("\n");
98 } 99 }
99 status_ = ABORTED; 100 status_ = ABORTED;
100 } 101 }
101 102
(...skipping 4275 matching lines...) Expand 10 before | Expand all | Expand 10 after
4377 env->deoptimization_index()); 4378 env->deoptimization_index());
4378 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator); 4379 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator);
4379 } 4380 }
4380 4381
4381 4382
4382 #undef __ 4383 #undef __
4383 4384
4384 } } // namespace v8::internal 4385 } } // namespace v8::internal
4385 4386
4386 #endif // V8_TARGET_ARCH_IA32 4387 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698