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

Side by Side Diff: src/ppc/macro-assembler-ppc.cc

Issue 1356223004: Move heap and CPU profilers into a dedicated directory. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebaseline Created 5 years, 2 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/ppc/lithium-codegen-ppc.cc ('k') | src/profile-generator.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <assert.h> // For assert 5 #include <assert.h> // For assert
6 #include <limits.h> // For LONG_MIN, LONG_MAX. 6 #include <limits.h> // For LONG_MIN, LONG_MAX.
7 7
8 #if V8_TARGET_ARCH_PPC 8 #if V8_TARGET_ARCH_PPC
9 9
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
11 #include "src/base/division-by-constant.h" 11 #include "src/base/division-by-constant.h"
12 #include "src/bootstrapper.h" 12 #include "src/bootstrapper.h"
13 #include "src/codegen.h" 13 #include "src/codegen.h"
14 #include "src/cpu-profiler.h"
15 #include "src/debug/debug.h" 14 #include "src/debug/debug.h"
16 #include "src/ppc/macro-assembler-ppc.h" 15 #include "src/ppc/macro-assembler-ppc.h"
17 #include "src/runtime/runtime.h" 16 #include "src/runtime/runtime.h"
18 17
19 namespace v8 { 18 namespace v8 {
20 namespace internal { 19 namespace internal {
21 20
22 MacroAssembler::MacroAssembler(Isolate* arg_isolate, void* buffer, int size) 21 MacroAssembler::MacroAssembler(Isolate* arg_isolate, void* buffer, int size)
23 : Assembler(arg_isolate, buffer, size), 22 : Assembler(arg_isolate, buffer, size),
24 generating_stub_(false), 23 generating_stub_(false),
(...skipping 4350 matching lines...) Expand 10 before | Expand all | Expand 10 after
4375 } 4374 }
4376 if (mag.shift > 0) srawi(result, result, mag.shift); 4375 if (mag.shift > 0) srawi(result, result, mag.shift);
4377 ExtractBit(r0, dividend, 31); 4376 ExtractBit(r0, dividend, 31);
4378 add(result, result, r0); 4377 add(result, result, r0);
4379 } 4378 }
4380 4379
4381 } // namespace internal 4380 } // namespace internal
4382 } // namespace v8 4381 } // namespace v8
4383 4382
4384 #endif // V8_TARGET_ARCH_PPC 4383 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/lithium-codegen-ppc.cc ('k') | src/profile-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698