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 104663004: Preview of a first step towards unification of hydrogen calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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
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 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 date_cache_ = date_cache; 1071 date_cache_ = date_cache;
1072 } 1072 }
1073 1073
1074 Map* get_initial_js_array_map(ElementsKind kind); 1074 Map* get_initial_js_array_map(ElementsKind kind);
1075 1075
1076 bool IsFastArrayConstructorPrototypeChainIntact(); 1076 bool IsFastArrayConstructorPrototypeChainIntact();
1077 1077
1078 CodeStubInterfaceDescriptor* 1078 CodeStubInterfaceDescriptor*
1079 code_stub_interface_descriptor(int index); 1079 code_stub_interface_descriptor(int index);
1080 1080
1081 enum CallDescriptorKey {
1082 KeyedCall,
1083 NamedCall,
1084 ArgumentAdaptorCall,
1085 NUMBER_OF_CALL_DESCRIPTORS
1086 };
1087
1088 CodeStubInterfaceDescriptor* call_descriptor(CallDescriptorKey index);
1089
1081 void IterateDeferredHandles(ObjectVisitor* visitor); 1090 void IterateDeferredHandles(ObjectVisitor* visitor);
1082 void LinkDeferredHandles(DeferredHandles* deferred_handles); 1091 void LinkDeferredHandles(DeferredHandles* deferred_handles);
1083 void UnlinkDeferredHandles(DeferredHandles* deferred_handles); 1092 void UnlinkDeferredHandles(DeferredHandles* deferred_handles);
1084 1093
1085 #ifdef DEBUG 1094 #ifdef DEBUG
1086 bool IsDeferredHandle(Object** location); 1095 bool IsDeferredHandle(Object** location);
1087 #endif // DEBUG 1096 #endif // DEBUG
1088 1097
1089 void set_max_available_threads(int value) { 1098 void set_max_available_threads(int value) {
1090 max_available_threads_ = value; 1099 max_available_threads_ = value;
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; 1302 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_;
1294 ConsStringIteratorOp objects_string_compare_iterator_a_; 1303 ConsStringIteratorOp objects_string_compare_iterator_a_;
1295 ConsStringIteratorOp objects_string_compare_iterator_b_; 1304 ConsStringIteratorOp objects_string_compare_iterator_b_;
1296 StaticResource<ConsStringIteratorOp> objects_string_iterator_; 1305 StaticResource<ConsStringIteratorOp> objects_string_iterator_;
1297 unibrow::Mapping<unibrow::Ecma262Canonicalize> 1306 unibrow::Mapping<unibrow::Ecma262Canonicalize>
1298 regexp_macro_assembler_canonicalize_; 1307 regexp_macro_assembler_canonicalize_;
1299 RegExpStack* regexp_stack_; 1308 RegExpStack* regexp_stack_;
1300 DateCache* date_cache_; 1309 DateCache* date_cache_;
1301 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; 1310 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_;
1302 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_; 1311 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_;
1312 CodeStubInterfaceDescriptor* call_descriptors_;
1303 RandomNumberGenerator* random_number_generator_; 1313 RandomNumberGenerator* random_number_generator_;
1304 1314
1305 // True if fatal error has been signaled for this isolate. 1315 // True if fatal error has been signaled for this isolate.
1306 bool has_fatal_error_; 1316 bool has_fatal_error_;
1307 1317
1308 // True if we are using the Crankshaft optimizing compiler. 1318 // True if we are using the Crankshaft optimizing compiler.
1309 bool use_crankshaft_; 1319 bool use_crankshaft_;
1310 1320
1311 // True if this isolate was initialized from a snapshot. 1321 // True if this isolate was initialized from a snapshot.
1312 bool initialized_from_snapshot_; 1322 bool initialized_from_snapshot_;
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 } 1576 }
1567 1577
1568 EmbeddedVector<char, 128> filename_; 1578 EmbeddedVector<char, 128> filename_;
1569 FILE* file_; 1579 FILE* file_;
1570 int scope_depth_; 1580 int scope_depth_;
1571 }; 1581 };
1572 1582
1573 } } // namespace v8::internal 1583 } } // namespace v8::internal
1574 1584
1575 #endif // V8_ISOLATE_H_ 1585 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698