V8 Project
|
#include <node-cache.h>
Classes | |
struct | Entry |
Public Member Functions | |
NodeCache (int max=256) | |
Node ** | Find (Zone *zone, Key key) |
Private Member Functions | |
bool | Resize (Zone *zone) |
Private Attributes | |
Entry * | entries_ |
int32_t | size_ |
int32_t | max_ |
Definition at line 19 of file node-cache.h.
|
inlineexplicit |
Definition at line 21 of file node-cache.h.
Node ** v8::internal::compiler::NodeCache< Key >::Find | ( | Zone * | zone, |
Key | key | ||
) |
Definition at line 78 of file node-cache.cc.
References INITIAL_SIZE, v8::internal::compiler::NodeCache< Key >::Entry::key_, LINEAR_PROBE, v8::internal::Zone::NewArray(), v8::internal::compiler::NodeCacheHash(), NULL, and v8::internal::compiler::NodeCache< Key >::Entry::value_.
|
private |
Definition at line 45 of file node-cache.cc.
References v8::internal::compiler::NodeCache< Key >::Entry::key_, LINEAR_PROBE, v8::internal::Zone::NewArray(), v8::internal::compiler::NodeCacheHash(), NULL, and v8::internal::compiler::NodeCache< Key >::Entry::value_.
|
private |
Definition at line 38 of file node-cache.h.
|
private |
Definition at line 40 of file node-cache.h.
|
private |
Definition at line 39 of file node-cache.h.