V8 Project
property.cc
Go to the documentation of this file.
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
3 // found in the LICENSE file.
4 
5 #include "src/property.h"
6 
7 #include "src/handles-inl.h"
8 #include "src/ostreams.h"
9 
10 namespace v8 {
11 namespace internal {
12 
13 void LookupResult::Iterate(ObjectVisitor* visitor) {
14  LookupResult* current = this; // Could be NULL.
15  while (current != NULL) {
16  visitor->VisitPointer(bit_cast<Object**>(&current->holder_));
17  visitor->VisitPointer(bit_cast<Object**>(&current->transition_));
18  current = current->next_;
19  }
20 }
21 
22 
23 OStream& operator<<(OStream& os, const LookupResult& r) {
24  if (!r.IsFound()) return os << "Not Found\n";
25 
26  os << "LookupResult:\n";
27  if (r.IsTransition()) {
28  os << " -transition target:\n" << Brief(r.GetTransitionTarget()) << "\n";
29  }
30  return os;
31 }
32 
33 
35  return os << "Descriptor " << Brief(*d.GetKey()) << " @ "
36  << Brief(*d.GetValue());
37 }
38 
39 } } // namespace v8::internal
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
OStream & operator<<(OStream &os, const BasicBlockProfiler &p)
Debugger support for the V8 JavaScript engine.
Definition: accessors.cc:20