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

Side by Side Diff: src/isolate.h

Issue 149413010: A64: Synchronize with r16024. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/icu_util.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 return thread_local_top_.ignore_out_of_memory_; 734 return thread_local_top_.ignore_out_of_memory_;
735 } 735 }
736 void set_ignore_out_of_memory(bool value) { 736 void set_ignore_out_of_memory(bool value) {
737 thread_local_top_.ignore_out_of_memory_ = value; 737 thread_local_top_.ignore_out_of_memory_ = value;
738 } 738 }
739 739
740 void PrintCurrentStackTrace(FILE* out); 740 void PrintCurrentStackTrace(FILE* out);
741 void PrintStackTrace(FILE* out, char* thread_data); 741 void PrintStackTrace(FILE* out, char* thread_data);
742 void PrintStack(StringStream* accumulator); 742 void PrintStack(StringStream* accumulator);
743 void PrintStack(FILE* out); 743 void PrintStack(FILE* out);
744 void PrintStack();
744 Handle<String> StackTraceString(); 745 Handle<String> StackTraceString();
745 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, 746 NO_INLINE(void PushStackTraceAndDie(unsigned int magic,
746 Object* object, 747 Object* object,
747 Map* map, 748 Map* map,
748 unsigned int magic2)); 749 unsigned int magic2));
749 Handle<JSArray> CaptureCurrentStackTrace( 750 Handle<JSArray> CaptureCurrentStackTrace(
750 int frame_limit, 751 int frame_limit,
751 StackTrace::StackTraceOptions options); 752 StackTrace::StackTraceOptions options);
752 753
753 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object, 754 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object,
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 void SetData(void* data) { embedder_data_ = data; } 1058 void SetData(void* data) { embedder_data_ = data; }
1058 void* GetData() { return embedder_data_; } 1059 void* GetData() { return embedder_data_; }
1059 1060
1060 LookupResult* top_lookup_result() { 1061 LookupResult* top_lookup_result() {
1061 return thread_local_top_.top_lookup_result_; 1062 return thread_local_top_.top_lookup_result_;
1062 } 1063 }
1063 void SetTopLookupResult(LookupResult* top) { 1064 void SetTopLookupResult(LookupResult* top) {
1064 thread_local_top_.top_lookup_result_ = top; 1065 thread_local_top_.top_lookup_result_ = top;
1065 } 1066 }
1066 1067
1068 bool context_exit_happened() {
1069 return context_exit_happened_;
1070 }
1071 void set_context_exit_happened(bool context_exit_happened) {
1072 context_exit_happened_ = context_exit_happened;
1073 }
1074
1067 bool initialized_from_snapshot() { return initialized_from_snapshot_; } 1075 bool initialized_from_snapshot() { return initialized_from_snapshot_; }
1068 1076
1069 double time_millis_since_init() { 1077 double time_millis_since_init() {
1070 return OS::TimeCurrentMillis() - time_millis_at_init_; 1078 return OS::TimeCurrentMillis() - time_millis_at_init_;
1071 } 1079 }
1072 1080
1073 DateCache* date_cache() { 1081 DateCache* date_cache() {
1074 return date_cache_; 1082 return date_cache_;
1075 } 1083 }
1076 1084
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 ConsStringIteratorOp objects_string_compare_iterator_a_; 1312 ConsStringIteratorOp objects_string_compare_iterator_a_;
1305 ConsStringIteratorOp objects_string_compare_iterator_b_; 1313 ConsStringIteratorOp objects_string_compare_iterator_b_;
1306 StaticResource<ConsStringIteratorOp> objects_string_iterator_; 1314 StaticResource<ConsStringIteratorOp> objects_string_iterator_;
1307 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1315 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1308 regexp_macro_assembler_canonicalize_; 1316 regexp_macro_assembler_canonicalize_;
1309 RegExpStack* regexp_stack_; 1317 RegExpStack* regexp_stack_;
1310 DateCache* date_cache_; 1318 DateCache* date_cache_;
1311 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; 1319 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
1312 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_; 1320 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_;
1313 1321
1322 // The garbage collector should be a little more aggressive when it knows
1323 // that a context was recently exited.
1324 bool context_exit_happened_;
1325
1314 // True if this isolate was initialized from a snapshot. 1326 // True if this isolate was initialized from a snapshot.
1315 bool initialized_from_snapshot_; 1327 bool initialized_from_snapshot_;
1316 1328
1317 // Time stamp at initialization. 1329 // Time stamp at initialization.
1318 double time_millis_at_init_; 1330 double time_millis_at_init_;
1319 1331
1320 #if V8_TARGET_ARCH_ARM && !defined(__arm__) || \ 1332 #if V8_TARGET_ARCH_ARM && !defined(__arm__) || \
1321 V8_TARGET_ARCH_A64 && !defined(__aarch64__) || \ 1333 V8_TARGET_ARCH_A64 && !defined(__aarch64__) || \
1322 V8_TARGET_ARCH_MIPS && !defined(__mips__) 1334 V8_TARGET_ARCH_MIPS && !defined(__mips__)
1323 bool simulator_initialized_; 1335 bool simulator_initialized_;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 1530
1519 // Mark the native context with out of memory. 1531 // Mark the native context with out of memory.
1520 inline void Context::mark_out_of_memory() { 1532 inline void Context::mark_out_of_memory() {
1521 native_context()->set_out_of_memory(HEAP->true_value()); 1533 native_context()->set_out_of_memory(HEAP->true_value());
1522 } 1534 }
1523 1535
1524 1536
1525 } } // namespace v8::internal 1537 } } // namespace v8::internal
1526 1538
1527 #endif // V8_ISOLATE_H_ 1539 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/icu_util.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698