Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: src/isolate.h

Issue 606013002: Install function tables for the code range on Win64 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@bleeding_edge
Patch Set: updates Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 THREAD_LOCAL_TOP_ACCESSOR(LookupResult*, top_lookup_result) 998 THREAD_LOCAL_TOP_ACCESSOR(LookupResult*, top_lookup_result)
999 999
1000 void enable_serializer() { 1000 void enable_serializer() {
1001 // The serializer can only be enabled before the isolate init. 1001 // The serializer can only be enabled before the isolate init.
1002 DCHECK(state_ != INITIALIZED); 1002 DCHECK(state_ != INITIALIZED);
1003 serializer_enabled_ = true; 1003 serializer_enabled_ = true;
1004 } 1004 }
1005 1005
1006 bool serializer_enabled() const { return serializer_enabled_; } 1006 bool serializer_enabled() const { return serializer_enabled_; }
1007 1007
1008 #ifdef _WIN64
1009 void set_exception_filter(WinExceptionFilter exception_filter) {
1010 DCHECK(state_ != INITIALIZED);
1011 exception_filter_ = exception_filter;
1012 }
1013 #endif
1014
1008 bool IsDead() { return has_fatal_error_; } 1015 bool IsDead() { return has_fatal_error_; }
1009 void SignalFatalError() { has_fatal_error_ = true; } 1016 void SignalFatalError() { has_fatal_error_ = true; }
1010 1017
1011 bool use_crankshaft() const; 1018 bool use_crankshaft() const;
1012 1019
1013 bool initialized_from_snapshot() { return initialized_from_snapshot_; } 1020 bool initialized_from_snapshot() { return initialized_from_snapshot_; }
1014 1021
1015 double time_millis_since_init() { 1022 double time_millis_since_init() {
1016 return base::OS::TimeCurrentMillis() - time_millis_at_init_; 1023 return base::OS::TimeCurrentMillis() - time_millis_at_init_;
1017 } 1024 }
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 regexp_macro_assembler_canonicalize_; 1272 regexp_macro_assembler_canonicalize_;
1266 RegExpStack* regexp_stack_; 1273 RegExpStack* regexp_stack_;
1267 DateCache* date_cache_; 1274 DateCache* date_cache_;
1268 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; 1275 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
1269 CallInterfaceDescriptorData* call_descriptor_data_; 1276 CallInterfaceDescriptorData* call_descriptor_data_;
1270 base::RandomNumberGenerator* random_number_generator_; 1277 base::RandomNumberGenerator* random_number_generator_;
1271 1278
1272 // Whether the isolate has been created for snapshotting. 1279 // Whether the isolate has been created for snapshotting.
1273 bool serializer_enabled_; 1280 bool serializer_enabled_;
1274 1281
1282 #ifdef _WIN64
1283 WinExceptionFilter exception_filter_;
1284 #endif
1285
1275 // True if fatal error has been signaled for this isolate. 1286 // True if fatal error has been signaled for this isolate.
1276 bool has_fatal_error_; 1287 bool has_fatal_error_;
1277 1288
1278 // True if this isolate was initialized from a snapshot. 1289 // True if this isolate was initialized from a snapshot.
1279 bool initialized_from_snapshot_; 1290 bool initialized_from_snapshot_;
1280 1291
1281 // Time stamp at initialization. 1292 // Time stamp at initialization.
1282 double time_millis_at_init_; 1293 double time_millis_at_init_;
1283 1294
1284 #ifdef DEBUG 1295 #ifdef DEBUG
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
1549 } 1560 }
1550 1561
1551 EmbeddedVector<char, 128> filename_; 1562 EmbeddedVector<char, 128> filename_;
1552 FILE* file_; 1563 FILE* file_;
1553 int scope_depth_; 1564 int scope_depth_;
1554 }; 1565 };
1555 1566
1556 } } // namespace v8::internal 1567 } } // namespace v8::internal
1557 1568
1558 #endif // V8_ISOLATE_H_ 1569 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698