diff options
author | Ali Ijaz Sheikh <ofrobots@google.com> | 2016-01-20 09:45:45 -0800 |
---|---|---|
committer | Ali Ijaz Sheikh <ofrobots@google.com> | 2016-01-21 16:53:58 -0800 |
commit | ef4170ea03a80b21b2d8a65ce432efaa370fe2fa (patch) | |
tree | e382b1b38b729cd8155b56b441c3a563914854a3 /deps/v8/src/isolate.h | |
parent | 5f6dfab832979999d2f806fc1a2f1c11a25b0f35 (diff) | |
download | node-new-ef4170ea03a80b21b2d8a65ce432efaa370fe2fa.tar.gz |
deps: upgrade to V8 4.8.271.17
Pick up V8 4.8 branch-head. This branch brings in @@isConcatSpreadable,
@@toPrimitive and ToLength ES6 changes. For full details see:
http://v8project.blogspot.de/2015/11/v8-release-48.html
https://github.com/v8/v8/commit/fa163e2
Ref: https://github.com/nodejs/node/pull/4399
PR-URL: https://github.com/nodejs/node/pull/4785
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/v8/src/isolate.h')
-rw-r--r-- | deps/v8/src/isolate.h | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/deps/v8/src/isolate.h b/deps/v8/src/isolate.h index e77dcd705e..79988f8f27 100644 --- a/deps/v8/src/isolate.h +++ b/deps/v8/src/isolate.h @@ -617,7 +617,7 @@ class Isolate { // Returns the global object of the current context. It could be // a builtin object, or a JS global object. - inline Handle<GlobalObject> global_object(); + inline Handle<JSGlobalObject> global_object(); // Returns the global proxy object of the current context. JSObject* global_proxy() { @@ -679,11 +679,11 @@ class Isolate { Handle<JSArray> GetDetailedFromSimpleStackTrace( Handle<JSObject> error_object); - // Returns if the top context may access the given global object. If + // Returns if the given context may access the given global object. If // the result is false, the pending exception is guaranteed to be // set. + bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver); - bool MayAccess(Handle<JSObject> receiver); bool IsInternallyUsedPropertyName(Handle<Object> name); bool IsInternallyUsedPropertyName(Object* name); @@ -1027,10 +1027,12 @@ class Isolate { void* stress_deopt_count_address() { return &stress_deopt_count_; } - void* vector_store_virtual_register_address() { - return &vector_store_virtual_register_; + void* virtual_handler_register_address() { + return &virtual_handler_register_; } + void* virtual_slot_register_address() { return &virtual_slot_register_; } + base::RandomNumberGenerator* random_number_generator(); // Given an address occupied by a live code object, return that object. @@ -1044,6 +1046,12 @@ class Isolate { return id; } + void IncrementJsCallsFromApiCounter() { ++js_calls_from_api_counter_; } + + unsigned int js_calls_from_api_counter() { + return js_calls_from_api_counter_; + } + // Get (and lazily initialize) the registry for per-isolate symbols. Handle<JSObject> GetSymbolRegistry(); @@ -1306,10 +1314,14 @@ class Isolate { // Counts deopt points if deopt_every_n_times is enabled. unsigned int stress_deopt_count_; - Address vector_store_virtual_register_; + Address virtual_handler_register_; + Address virtual_slot_register_; int next_optimization_id_; + // Counts javascript calls from the API. Wraps around on overflow. + unsigned int js_calls_from_api_counter_; + #if TRACE_MAPS int next_unique_sfi_id_; #endif @@ -1556,6 +1568,7 @@ class CodeTracer final : public Malloced { int scope_depth_; }; -} } // namespace v8::internal +} // namespace internal +} // namespace v8 #endif // V8_ISOLATE_H_ |