"src/unicode-decoder.cc",
"src/unicode-decoder.h",
"src/unique.h",
- "src/utils-inl.h",
"src/utils.cc",
"src/utils.h",
"src/v8.cc",
// found in the LICENSE file.
#include "src/api-natives.h"
-#include "src/isolate-inl.h"
+
+#include "src/api.h"
+#include "src/isolate.h"
+#include "src/lookup.h"
namespace v8 {
namespace internal {
+
namespace {
MaybeHandle<JSObject> InstantiateObject(Isolate* isolate,
#include "src/debug.h"
#include "src/full-codegen.h"
#include "src/ic/ic.h"
-#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
-#include "src/isolate-inl.h"
#include "src/runtime/runtime.h"
namespace v8 {
#include "src/debug.h"
#include "src/full-codegen.h"
#include "src/ic/ic.h"
-#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
-#include "src/isolate-inl.h"
#include "src/runtime/runtime.h"
namespace v8 {
#include "src/base/functional.h"
#include "src/base/lazy-instance.h"
#include "src/base/platform/platform.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/builtins.h"
#include "src/codegen.h"
#include "src/counters.h"
#include "src/execution.h"
#include "src/ic/ic.h"
#include "src/ic/stub-cache.h"
-#include "src/isolate-inl.h"
#include "src/jsregexp.h"
#include "src/regexp-macro-assembler.h"
#include "src/regexp-stack.h"
#include "src/base/lazy-instance.h"
#include "src/base/platform/platform.h"
-#include "src/isolate-inl.h"
+#include "src/debug.h"
+#include "src/isolate.h"
#include "src/utils.h"
namespace v8 {
#include "src/accessors.h"
#include "src/api-natives.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/code-stubs.h"
#include "src/extensions/externalize-string-extension.h"
#include "src/extensions/free-buffer-extension.h"
#include "src/extensions/gc-extension.h"
#include "src/extensions/statistics-extension.h"
#include "src/extensions/trigger-failure-extension.h"
-#include "src/isolate-inl.h"
#include "src/snapshot/natives.h"
#include "src/snapshot/snapshot.h"
#include "third_party/fdlibm/fdlibm.h"
#include "src/full-codegen.h"
#include "src/gdb-jit.h"
#include "src/hydrogen.h"
-#include "src/isolate-inl.h"
#include "src/lithium.h"
#include "src/liveedit.h"
#include "src/messages.h"
#include "src/execution.h"
#include "src/full-codegen.h"
#include "src/global-handles.h"
-#include "src/isolate-inl.h"
#include "src/list.h"
#include "src/log.h"
#include "src/messages.h"
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/deoptimizer.h"
-#include "src/isolate-inl.h"
#include "src/messages.h"
#include "src/vm-state-inl.h"
#include "src/base/bits.h"
#include "src/bootstrapper.h"
#include "src/conversions.h"
-#include "src/isolate-inl.h"
#include "src/macro-assembler.h"
namespace v8 {
#include "src/heap/objects-visiting.h"
#include "src/heap/store-buffer.h"
#include "src/heap-profiler.h"
-#include "src/isolate-inl.h"
#include "src/runtime-profiler.h"
#include "src/scopeinfo.h"
#include "src/snapshot/natives.h"
#include "src/double.h"
#include "src/factory.h"
#include "src/hydrogen-infer-representation.h"
-#include "src/property-details-inl.h"
#if V8_TARGET_ARCH_IA32
#include "src/ia32/lithium-ia32.h" // NOLINT
}
+static Representation RepresentationFor(Type* type) {
+ DisallowHeapAllocation no_allocation;
+ if (type->Is(Type::None())) return Representation::None();
+ if (type->Is(Type::SignedSmall())) return Representation::Smi();
+ if (type->Is(Type::Signed32())) return Representation::Integer32();
+ if (type->Is(Type::Number())) return Representation::Double();
+ return Representation::Tagged();
+}
+
+
HInstruction* HOptimizedGraphBuilder::BuildIncrement(
bool returns_original_input,
CountOperation* expr) {
// The input to the count operation is on top of the expression stack.
- Representation rep = Representation::FromType(expr->type());
+ Representation rep = RepresentationFor(expr->type());
if (rep.IsNone() || rep.IsTagged()) {
rep = Representation::Smi();
}
Type* result_type,
Maybe<int> fixed_right_arg,
HAllocationMode allocation_mode) {
-
- Representation left_rep = Representation::FromType(left_type);
- Representation right_rep = Representation::FromType(right_type);
+ Representation left_rep = RepresentationFor(left_type);
+ Representation right_rep = RepresentationFor(right_type);
bool maybe_string_add = op == Token::ADD &&
(left_type->Maybe(Type::String()) ||
Deoptimizer::kInsufficientTypeFeedbackForLHSOfBinaryOperation,
Deoptimizer::SOFT);
left_type = Type::Any(zone());
- left_rep = Representation::FromType(left_type);
+ left_rep = RepresentationFor(left_type);
maybe_string_add = op == Token::ADD;
}
Deoptimizer::kInsufficientTypeFeedbackForRHSOfBinaryOperation,
Deoptimizer::SOFT);
right_type = Type::Any(zone());
- right_rep = Representation::FromType(right_type);
+ right_rep = RepresentationFor(right_type);
maybe_string_add = op == Token::ADD;
}
right = EnforceNumberType(right, right_type);
}
- Representation result_rep = Representation::FromType(result_type);
+ Representation result_rep = RepresentationFor(result_type);
bool is_non_primitive = (left_rep.IsTagged() && !left_rep.IsSmi()) ||
(right_rep.IsTagged() && !right_rep.IsSmi());
combined_type = left_type = right_type = Type::Any(zone());
}
- Representation left_rep = Representation::FromType(left_type);
- Representation right_rep = Representation::FromType(right_type);
- Representation combined_rep = Representation::FromType(combined_type);
+ Representation left_rep = RepresentationFor(left_type);
+ Representation right_rep = RepresentationFor(right_type);
+ Representation combined_rep = RepresentationFor(combined_type);
if (combined_type->Is(Type::Receiver())) {
if (Token::IsEqualityOp(op)) {
#include "src/debug.h"
#include "src/full-codegen.h"
#include "src/ic/ic.h"
-#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
-#include "src/isolate-inl.h"
#include "src/runtime/runtime.h"
namespace v8 {
+++ /dev/null
-// Copyright 2011 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_ISOLATE_INL_H_
-#define V8_ISOLATE_INL_H_
-
-#include "src/base/utils/random-number-generator.h"
-#include "src/debug.h"
-#include "src/isolate.h"
-
-namespace v8 {
-namespace internal {
-
-
-SaveContext::SaveContext(Isolate* isolate)
- : isolate_(isolate),
- prev_(isolate->save_context()) {
- if (isolate->context() != NULL) {
- context_ = Handle<Context>(isolate->context());
- }
- isolate->set_save_context(this);
-
- c_entry_fp_ = isolate->c_entry_fp(isolate->thread_local_top());
-}
-
-
-base::RandomNumberGenerator* Isolate::random_number_generator() {
- if (random_number_generator_ == NULL) {
- if (FLAG_random_seed != 0) {
- random_number_generator_ =
- new base::RandomNumberGenerator(FLAG_random_seed);
- } else {
- random_number_generator_ = new base::RandomNumberGenerator();
- }
- }
- return random_number_generator_;
-}
-
-} } // namespace v8::internal
-
-#endif // V8_ISOLATE_INL_H_
#include "src/heap-profiler.h"
#include "src/hydrogen.h"
#include "src/ic/stub-cache.h"
-#include "src/isolate-inl.h"
#include "src/lithium-allocator.h"
#include "src/log.h"
#include "src/messages.h"
}
+base::RandomNumberGenerator* Isolate::random_number_generator() {
+ if (random_number_generator_ == NULL) {
+ if (FLAG_random_seed != 0) {
+ random_number_generator_ =
+ new base::RandomNumberGenerator(FLAG_random_seed);
+ } else {
+ random_number_generator_ = new base::RandomNumberGenerator();
+ }
+ }
+ return random_number_generator_;
+}
+
+
Object* Isolate::FindCodeObject(Address a) {
return inner_pointer_to_code_cache()->GcSafeFindCodeForInnerPointer(a);
}
}
+SaveContext::SaveContext(Isolate* isolate)
+ : isolate_(isolate), prev_(isolate->save_context()) {
+ if (isolate->context() != NULL) {
+ context_ = Handle<Context>(isolate->context());
+ }
+ isolate->set_save_context(this);
+
+ c_entry_fp_ = isolate->c_entry_fp(isolate->thread_local_top());
+}
+
+
bool PostponeInterruptsScope::Intercept(StackGuard::InterruptFlag flag) {
// First check whether the previous scope intercepts.
if (prev_ && prev_->Intercept(flag)) return true;
void* stress_deopt_count_address() { return &stress_deopt_count_; }
- inline base::RandomNumberGenerator* random_number_generator();
+ base::RandomNumberGenerator* random_number_generator();
// Given an address occupied by a live code object, return that object.
Object* FindCodeObject(Address a);
// versions of GCC. See V8 issue 122 for details.
class SaveContext BASE_EMBEDDED {
public:
- inline explicit SaveContext(Isolate* isolate);
+ explicit SaveContext(Isolate* isolate);
~SaveContext() {
isolate_->set_context(context_.is_null() ? NULL : *context_);
#include "src/debug.h"
#include "src/full-codegen.h"
#include "src/ic/ic.h"
-#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
-#include "src/isolate-inl.h"
#include "src/runtime/runtime.h"
namespace v8 {
#include "src/debug.h"
#include "src/full-codegen.h"
#include "src/ic/ic.h"
-#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
-#include "src/isolate-inl.h"
#include "src/runtime/runtime.h"
namespace v8 {
#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"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/heap/objects-visiting-inl.h"
#include "src/hydrogen.h"
#include "src/ic/ic.h"
-#include "src/isolate-inl.h"
#include "src/log.h"
#include "src/lookup.h"
#include "src/macro-assembler.h"
#include "src/debug.h"
#include "src/full-codegen.h"
#include "src/ic/ic.h"
-#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
-#include "src/isolate-inl.h"
#include "src/runtime/runtime.h"
namespace v8 {
#include "src/allocation.h"
#include "src/hashmap.h"
#include "src/preparse-data-format.h"
-#include "src/utils-inl.h"
namespace v8 {
namespace internal {
+++ /dev/null
-// Copyright 2014 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_PROPERTY_DETAILS_INL_H_
-#define V8_PROPERTY_DETAILS_INL_H_
-
-#include "src/conversions.h"
-#include "src/objects.h"
-#include "src/property-details.h"
-#include "src/types.h"
-
-namespace v8 {
-namespace internal {
-
-Representation Representation::FromType(Type* type) {
- DisallowHeapAllocation no_allocation;
- if (type->Is(Type::None())) return Representation::None();
- if (type->Is(Type::SignedSmall())) return Representation::Smi();
- if (type->Is(Type::Signed32())) return Representation::Integer32();
- if (type->Is(Type::Number())) return Representation::Double();
- return Representation::Tagged();
-}
-
-} } // namespace v8::internal
-
-#endif // V8_PROPERTY_DETAILS_INL_H_
static Representation FromKind(Kind kind) { return Representation(kind); }
- static Representation FromType(Type* type);
-
bool Equals(const Representation& other) const {
return kind_ == other.kind_;
}
#include "src/full-codegen.h"
#include "src/global-handles.h"
#include "src/heap/mark-compact.h"
-#include "src/isolate-inl.h"
#include "src/scopeinfo.h"
namespace v8 {
#include "src/v8.h"
-#include "src/isolate-inl.h"
+#include "src/arguments.h"
+#include "src/debug.h"
#include "src/runtime/runtime.h"
#include "src/runtime/runtime-utils.h"
#include "src/deoptimizer.h"
#include "src/frames.h"
#include "src/full-codegen.h"
-#include "src/isolate-inl.h"
#include "src/messages.h"
#include "src/runtime/runtime-utils.h"
#include "src/v8threads.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/deoptimizer.h"
-#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/runtime/runtime.h"
#include "src/runtime/runtime-utils.h"
+++ /dev/null
-// Copyright 2011 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_UTILS_INL_H_
-#define V8_UTILS_INL_H_
-
-#include "src/list-inl.h"
-
-namespace v8 {
-namespace internal {
-
-template<typename T, int growth_factor, int max_growth>
-void Collector<T, growth_factor, max_growth>::Reset() {
- for (int i = chunks_.length() - 1; i >= 0; i--) {
- chunks_.at(i).Dispose();
- }
- chunks_.Rewind(0);
- index_ = 0;
- size_ = 0;
-}
-
-} } // namespace v8::internal
-
-#endif // V8_UTILS_INL_H_
}
// Resets the collector to be empty.
- virtual void Reset();
+ virtual void Reset() {
+ for (int i = chunks_.length() - 1; i >= 0; i--) {
+ chunks_.at(i).Dispose();
+ }
+ chunks_.Rewind(0);
+ index_ = 0;
+ size_ = 0;
+ }
// Total number of elements added to collector so far.
inline int size() { return size_; }
#include "src/debug.h"
#include "src/full-codegen.h"
#include "src/ic/ic.h"
-#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/heap/heap.h"
-#include "src/isolate-inl.h"
#include "src/x64/assembler-x64.h"
#include "src/x64/macro-assembler-x64.h"
#include "src/debug.h"
#include "src/full-codegen.h"
#include "src/ic/ic.h"
-#include "src/isolate-inl.h"
#include "src/parser.h"
#include "src/scopes.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
-#include "src/isolate-inl.h"
#include "src/runtime/runtime.h"
namespace v8 {
#include "src/v8.h"
-#include "src/isolate-inl.h"
-
#ifndef TEST
#define TEST(Name) \
static void Test##Name(); \
#include <limits>
#include "src/base/bits.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/codegen.h"
#include "test/cctest/cctest.h"
#include "test/cctest/compiler/codegen-tester.h"
#include "src/arguments.h"
#include "src/base/platform/platform.h"
#include "src/compilation-cache.h"
+#include "src/debug.h"
#include "src/execution.h"
#include "src/objects.h"
#include "src/parser.h"
#include "src/arm/assembler-arm-inl.h"
#include "src/arm/simulator-arm.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/disassembler.h"
#include "src/factory.h"
#include "src/ostreams.h"
#include "src/arm64/disasm-arm64.h"
#include "src/arm64/simulator-arm64.h"
#include "src/arm64/utils-arm64.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/macro-assembler.h"
#include "test/cctest/cctest.h"
#include "test/cctest/test-utils-arm64.h"
#include "src/v8.h"
#include "src/base/platform/platform.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/disassembler.h"
#include "src/factory.h"
#include "src/macro-assembler.h"
#include "src/v8.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/disassembler.h"
#include "src/factory.h"
#include "src/macro-assembler.h"
#include "src/v8.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/disassembler.h"
#include "src/factory.h"
#include "src/macro-assembler.h"
#include "src/v8.h"
#include "src/base/platform/platform.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/factory.h"
#include "src/macro-assembler.h"
#include "src/ostreams.h"
#include "src/v8.h"
#include "src/base/platform/platform.h"
+#include "src/base/utils/random-number-generator.h"
#include "src/disassembler.h"
#include "src/factory.h"
#include "src/macro-assembler.h"
#include "src/debug.h"
#include "src/hashmap.h"
#include "src/heap-profiler.h"
-#include "src/utils-inl.h"
#include "test/cctest/cctest.h"
using i::AllocationTraceNode;
#include "test/cctest/cctest.h"
#include "src/base/utils/random-number-generator.h"
-#include "src/isolate-inl.h"
using namespace v8::internal;
#include <vector>
#include "src/hydrogen-types.h"
-#include "src/isolate-inl.h"
#include "src/types.h"
#include "test/cctest/cctest.h"
#include "test/cctest/types-fuzz.h"
#include "src/v8.h"
#include "src/base/platform/platform.h"
-#include "src/utils-inl.h"
#include "test/cctest/cctest.h"
using namespace v8::internal;
#include "test/unittests/test-utils.h"
#include "src/base/platform/time.h"
+#include "src/debug.h"
#include "src/flags.h"
-#include "src/isolate-inl.h"
+#include "src/isolate.h"
namespace v8 {
'../../src/unicode-decoder.cc',
'../../src/unicode-decoder.h',
'../../src/unique.h',
- '../../src/utils-inl.h',
'../../src/utils.cc',
'../../src/utils.h',
'../../src/v8.cc',