[iwyu] Remove include debug.h -> arguments.h
arguments.h is one of the headers including objects-inl.h. Files needing objects-inl.h used to innocently pull in debug.h, so that needs to be fixed now too. BUG=v8:5294 R=mstarzinger@chromium.org Change-Id: I8ce671c533ed757103ef9a3b0bf0a0509230fdd8 Reviewed-on: https://chromium-review.googlesource.com/439287 Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/master@{#43054}
This commit is contained in:
parent
d128338d23
commit
e425079b1d
@ -41,7 +41,7 @@
|
||||
|
||||
#include "src/assembler.h"
|
||||
#include "src/debug/debug.h"
|
||||
|
||||
#include "src/objects-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
@ -590,6 +590,17 @@ void Assembler::set_target_address_at(Isolate* isolate, Address pc,
|
||||
}
|
||||
}
|
||||
|
||||
Address Assembler::target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
|
||||
void Assembler::set_target_address_at(Isolate* isolate, Address pc, Code* code,
|
||||
Address target,
|
||||
ICacheFlushMode icache_flush_mode) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target, icache_flush_mode);
|
||||
}
|
||||
|
||||
} // namespace internal
|
||||
} // namespace v8
|
||||
|
@ -728,17 +728,10 @@ class Assembler : public AssemblerBase {
|
||||
INLINE(static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Address constant_pool, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
|
||||
INLINE(static Address target_address_at(Address pc, Code* code)) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
INLINE(static Address target_address_at(Address pc, Code* code));
|
||||
INLINE(static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Code* code, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target,
|
||||
icache_flush_mode);
|
||||
}
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
|
||||
|
||||
// Return the code target address at a call site from the return address
|
||||
// of that call in the instruction stream.
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "src/arm64/assembler-arm64.h"
|
||||
#include "src/assembler.h"
|
||||
#include "src/debug/debug.h"
|
||||
|
||||
#include "src/objects-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include "src/base/lazy-instance.h"
|
||||
#include "src/base/platform/platform.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/isolate.h"
|
||||
#include "src/utils.h"
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "src/isolate.h"
|
||||
#include "src/label.h"
|
||||
#include "src/list.h"
|
||||
#include "src/objects/literal-objects.h"
|
||||
#include "src/parsing/token.h"
|
||||
#include "src/runtime/runtime.h"
|
||||
#include "src/small-pointer-list.h"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "src/background-parsing-task.h"
|
||||
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/objects-inl.h"
|
||||
#include "src/parsing/parser.h"
|
||||
|
||||
namespace v8 {
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "src/arguments.h"
|
||||
#include "src/ast/ast.h"
|
||||
#include "src/bootstrapper.h"
|
||||
#include "src/code-factory.h"
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "src/ast/scopes.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/isolate.h"
|
||||
#include "src/objects-inl.h"
|
||||
#include "src/parsing/parse-info.h"
|
||||
#include "src/source-position.h"
|
||||
|
||||
|
@ -2,9 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/base/adapters.h"
|
||||
#include "src/compiler/frame-elider.h"
|
||||
|
||||
#include "src/base/adapters.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
namespace compiler {
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
#include "src/crankshaft/hydrogen-canonicalize.h"
|
||||
|
||||
#include "src/counters.h"
|
||||
#include "src/crankshaft/hydrogen-redundant-phi.h"
|
||||
|
||||
namespace v8 {
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "src/crankshaft/hydrogen-instructions.h"
|
||||
#include "src/globals.h"
|
||||
#include "src/parsing/parse-info.h"
|
||||
#include "src/transitions.h"
|
||||
#include "src/zone/zone.h"
|
||||
|
||||
namespace v8 {
|
||||
|
@ -6,7 +6,6 @@
|
||||
#define V8_DEBUG_DEBUG_H_
|
||||
|
||||
#include "src/allocation.h"
|
||||
#include "src/arguments.h"
|
||||
#include "src/assembler.h"
|
||||
#include "src/base/atomicops.h"
|
||||
#include "src/base/hashmap.h"
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "src/globals.h"
|
||||
#include "src/isolate.h"
|
||||
#include "src/messages.h"
|
||||
#include "src/objects/scope-info.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
@ -41,6 +41,7 @@
|
||||
|
||||
#include "src/assembler.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/objects-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
@ -446,6 +447,17 @@ void Assembler::set_target_address_at(Isolate* isolate, Address pc,
|
||||
}
|
||||
}
|
||||
|
||||
Address Assembler::target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
|
||||
void Assembler::set_target_address_at(Isolate* isolate, Address pc, Code* code,
|
||||
Address target,
|
||||
ICacheFlushMode icache_flush_mode) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target);
|
||||
}
|
||||
|
||||
Address Assembler::target_address_from_return_address(Address pc) {
|
||||
return pc - kCallTargetAddressOffset;
|
||||
|
@ -498,16 +498,10 @@ class Assembler : public AssemblerBase {
|
||||
inline static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Address constant_pool, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
|
||||
static inline Address target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
static inline Address target_address_at(Address pc, Code* code);
|
||||
static inline void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Code* code, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target);
|
||||
}
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
|
||||
|
||||
// Return the code target address at a call site from the return address
|
||||
// of that call in the instruction stream.
|
||||
|
@ -11,6 +11,7 @@
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
||||
class AstType;
|
||||
|
||||
const int kMaxKeyedPolymorphism = 4;
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include "src/ast/ast.h"
|
||||
#include "src/base/bits.h"
|
||||
#include "src/counters.h"
|
||||
#include "src/ic/ic-inl.h"
|
||||
#include "src/type-info.h"
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#include "src/assembler.h"
|
||||
#include "src/debug/debug.h"
|
||||
|
||||
#include "src/objects-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
@ -137,6 +137,17 @@ int RelocInfo::target_address_size() {
|
||||
return Assembler::kSpecialTargetSize;
|
||||
}
|
||||
|
||||
Address Assembler::target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
|
||||
void Assembler::set_target_address_at(Isolate* isolate, Address pc, Code* code,
|
||||
Address target,
|
||||
ICacheFlushMode icache_flush_mode) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target, icache_flush_mode);
|
||||
}
|
||||
|
||||
Address Assembler::target_address_from_return_address(Address pc) {
|
||||
return pc - kCallTargetAddressOffset;
|
||||
|
@ -472,17 +472,10 @@ class Assembler : public AssemblerBase {
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)) {
|
||||
set_target_address_at(isolate, pc, target, icache_flush_mode);
|
||||
}
|
||||
INLINE(static Address target_address_at(Address pc, Code* code)) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
INLINE(static Address target_address_at(Address pc, Code* code));
|
||||
INLINE(static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Code* code, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target,
|
||||
icache_flush_mode);
|
||||
}
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
|
||||
|
||||
// Return the code target address at a call site from the return address
|
||||
// of that call in the instruction stream.
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#include "src/assembler.h"
|
||||
#include "src/debug/debug.h"
|
||||
|
||||
#include "src/objects-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
@ -139,6 +139,17 @@ int RelocInfo::target_address_size() {
|
||||
return Assembler::kSpecialTargetSize;
|
||||
}
|
||||
|
||||
Address Assembler::target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
|
||||
void Assembler::set_target_address_at(Isolate* isolate, Address pc, Code* code,
|
||||
Address target,
|
||||
ICacheFlushMode icache_flush_mode) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target, icache_flush_mode);
|
||||
}
|
||||
|
||||
Address Assembler::target_address_from_return_address(Address pc) {
|
||||
return pc - kCallTargetAddressOffset;
|
||||
|
@ -477,17 +477,10 @@ class Assembler : public AssemblerBase {
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)) {
|
||||
set_target_address_at(isolate, pc, target, icache_flush_mode);
|
||||
}
|
||||
INLINE(static Address target_address_at(Address pc, Code* code)) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
INLINE(static Address target_address_at(Address pc, Code* code));
|
||||
INLINE(static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Code* code, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target,
|
||||
icache_flush_mode);
|
||||
}
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
|
||||
|
||||
// Return the code target address at a call site from the return address
|
||||
// of that call in the instruction stream.
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "src/api-arguments-inl.h"
|
||||
#include "src/api-natives.h"
|
||||
#include "src/api.h"
|
||||
#include "src/arguments.h"
|
||||
#include "src/base/bits.h"
|
||||
#include "src/base/utils/random-number-generator.h"
|
||||
#include "src/bootstrapper.h"
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "src/handles.h"
|
||||
#include "src/isolate.h"
|
||||
#include "src/messages.h"
|
||||
#include "src/objects-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#include "src/assembler.h"
|
||||
#include "src/debug/debug.h"
|
||||
|
||||
#include "src/objects-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
@ -131,6 +131,17 @@ Address RelocInfo::constant_pool_entry_address() {
|
||||
|
||||
int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; }
|
||||
|
||||
Address Assembler::target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
|
||||
void Assembler::set_target_address_at(Isolate* isolate, Address pc, Code* code,
|
||||
Address target,
|
||||
ICacheFlushMode icache_flush_mode) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target, icache_flush_mode);
|
||||
}
|
||||
|
||||
Address Assembler::target_address_from_return_address(Address pc) {
|
||||
// Returns the address of the call target from the return address that will
|
||||
|
@ -469,17 +469,10 @@ class Assembler : public AssemblerBase {
|
||||
INLINE(static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Address constant_pool, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
|
||||
INLINE(static Address target_address_at(Address pc, Code* code)) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
INLINE(static Address target_address_at(Address pc, Code* code));
|
||||
INLINE(static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Code* code, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target,
|
||||
icache_flush_mode);
|
||||
}
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
|
||||
|
||||
// Return the code target address at a call site from the return address
|
||||
// of that call in the instruction stream.
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include "src/api.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/heap/heap-inl.h"
|
||||
#include "src/profiler/allocation-tracker.h"
|
||||
#include "src/profiler/heap-snapshot-generator-inl.h"
|
||||
#include "src/profiler/sampling-heap-profiler.h"
|
||||
|
@ -3,6 +3,7 @@
|
||||
// found in the LICENSE file.
|
||||
#include "src/runtime/runtime-utils.h"
|
||||
|
||||
#include "src/arguments.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/elements.h"
|
||||
|
||||
|
@ -41,6 +41,7 @@
|
||||
|
||||
#include "src/assembler.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/objects-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
@ -118,6 +119,18 @@ Address RelocInfo::constant_pool_entry_address() {
|
||||
|
||||
int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; }
|
||||
|
||||
Address Assembler::target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
|
||||
void Assembler::set_target_address_at(Isolate* isolate, Address pc, Code* code,
|
||||
Address target,
|
||||
ICacheFlushMode icache_flush_mode) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target, icache_flush_mode);
|
||||
}
|
||||
|
||||
Address Assembler::target_address_from_return_address(Address pc) {
|
||||
// Returns the address of the call target from the return address that will
|
||||
// be returned to after a call.
|
||||
|
@ -447,17 +447,10 @@ class Assembler : public AssemblerBase {
|
||||
INLINE(static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Address constant_pool, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED));
|
||||
INLINE(static Address target_address_at(Address pc, Code* code)) {
|
||||
Address constant_pool = NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
INLINE(static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Code* code, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)) {
|
||||
Address constant_pool = NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target,
|
||||
icache_flush_mode);
|
||||
}
|
||||
INLINE(static Address target_address_at(Address pc, Code* code));
|
||||
INLINE(static void set_target_address_at(Isolate* isolate, Address pc,
|
||||
Code* code, Address target,
|
||||
ICacheFlushMode icache_flush_mode));
|
||||
|
||||
// Return the code target address at a call site from the return address
|
||||
// of that call in the instruction stream.
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
#include "src/base/cpu.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/objects-inl.h"
|
||||
#include "src/v8memory.h"
|
||||
|
||||
namespace v8 {
|
||||
@ -281,6 +282,17 @@ void Assembler::set_target_address_at(Isolate* isolate, Address pc,
|
||||
}
|
||||
}
|
||||
|
||||
Address Assembler::target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
|
||||
void Assembler::set_target_address_at(Isolate* isolate, Address pc, Code* code,
|
||||
Address target,
|
||||
ICacheFlushMode icache_flush_mode) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target, icache_flush_mode);
|
||||
}
|
||||
|
||||
void Assembler::deserialization_set_target_internal_reference_at(
|
||||
Isolate* isolate, Address pc, Address target, RelocInfo::Mode mode) {
|
||||
|
@ -503,17 +503,10 @@ class Assembler : public AssemblerBase {
|
||||
static inline void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Address constant_pool, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
|
||||
static inline Address target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
static inline Address target_address_at(Address pc, Code* code);
|
||||
static inline void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Code* code, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target,
|
||||
icache_flush_mode);
|
||||
}
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
|
||||
|
||||
// Return the code target address at a call site from the return address
|
||||
// of that call in the instruction stream.
|
||||
|
@ -41,6 +41,7 @@
|
||||
|
||||
#include "src/assembler.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/objects-inl.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
@ -446,6 +447,17 @@ void Assembler::set_target_address_at(Isolate* isolate, Address pc,
|
||||
}
|
||||
}
|
||||
|
||||
Address Assembler::target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
|
||||
void Assembler::set_target_address_at(Isolate* isolate, Address pc, Code* code,
|
||||
Address target,
|
||||
ICacheFlushMode icache_flush_mode) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target, icache_flush_mode);
|
||||
}
|
||||
|
||||
Address Assembler::target_address_from_return_address(Address pc) {
|
||||
return pc - kCallTargetAddressOffset;
|
||||
|
@ -496,16 +496,10 @@ class Assembler : public AssemblerBase {
|
||||
inline static void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Address constant_pool, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
|
||||
static inline Address target_address_at(Address pc, Code* code) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
return target_address_at(pc, constant_pool);
|
||||
}
|
||||
static inline Address target_address_at(Address pc, Code* code);
|
||||
static inline void set_target_address_at(
|
||||
Isolate* isolate, Address pc, Code* code, Address target,
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED) {
|
||||
Address constant_pool = code ? code->constant_pool() : NULL;
|
||||
set_target_address_at(isolate, pc, constant_pool, target);
|
||||
}
|
||||
ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED);
|
||||
|
||||
// Return the code target address at a call site from the return address
|
||||
// of that call in the instruction stream.
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
#include "include/libplatform/libplatform.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/objects-inl.h"
|
||||
#include "test/cctest/print-extension.h"
|
||||
#include "test/cctest/profiler-extension.h"
|
||||
#include "test/cctest/trace-extension.h"
|
||||
|
@ -31,6 +31,7 @@
|
||||
|
||||
#include "src/api.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/objects-inl.h"
|
||||
#include "src/string-search.h"
|
||||
#include "test/cctest/cctest.h"
|
||||
|
||||
|
@ -34,9 +34,11 @@
|
||||
#include "src/v8.h"
|
||||
|
||||
#include "include/v8-profiler.h"
|
||||
#include "src/api.h"
|
||||
#include "src/base/hashmap.h"
|
||||
#include "src/collector.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/objects-inl.h"
|
||||
#include "src/profiler/allocation-tracker.h"
|
||||
#include "src/profiler/heap-profiler.h"
|
||||
#include "src/profiler/heap-snapshot-generator-inl.h"
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
#include "include/libplatform/libplatform.h"
|
||||
#include "src/base/platform/time.h"
|
||||
#include "src/debug/debug.h"
|
||||
#include "src/flags.h"
|
||||
#include "src/isolate.h"
|
||||
#include "src/objects-inl.h"
|
||||
#include "src/v8.h"
|
||||
|
||||
namespace v8 {
|
||||
|
Loading…
Reference in New Issue
Block a user