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

Side by Side Diff: src/assembler.h

Issue 1671813003: [interpreter] move the dispatch table off heap. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | src/interpreter/interpreter.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 886
887 explicit ExternalReference(StatsCounter* counter); 887 explicit ExternalReference(StatsCounter* counter);
888 888
889 ExternalReference(Isolate::AddressId id, Isolate* isolate); 889 ExternalReference(Isolate::AddressId id, Isolate* isolate);
890 890
891 explicit ExternalReference(const SCTableReference& table_ref); 891 explicit ExternalReference(const SCTableReference& table_ref);
892 892
893 // Isolate as an external reference. 893 // Isolate as an external reference.
894 static ExternalReference isolate_address(Isolate* isolate); 894 static ExternalReference isolate_address(Isolate* isolate);
895 895
896 // Address of the interpreter dispatch table.
897 static ExternalReference interpreter_dispatch_table_address(Isolate* isolate);
Michael Starzinger 2016/02/05 11:42:16 nit: Move to below the general comment about "One-
Yang 2016/02/05 11:51:01 Done.
898
896 // One-of-a-kind references. These references are not part of a general 899 // One-of-a-kind references. These references are not part of a general
897 // pattern. This means that they have to be added to the 900 // pattern. This means that they have to be added to the
898 // ExternalReferenceTable in serialize.cc manually. 901 // ExternalReferenceTable in serialize.cc manually.
899 902
900 static ExternalReference incremental_marking_record_write_function( 903 static ExternalReference incremental_marking_record_write_function(
901 Isolate* isolate); 904 Isolate* isolate);
902 static ExternalReference incremental_marking_record_write_code_entry_function( 905 static ExternalReference incremental_marking_record_write_code_entry_function(
903 Isolate* isolate); 906 Isolate* isolate);
904 static ExternalReference store_buffer_overflow_function( 907 static ExternalReference store_buffer_overflow_function(
905 Isolate* isolate); 908 Isolate* isolate);
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 std::vector<ConstantPoolEntry> shared_entries; 1302 std::vector<ConstantPoolEntry> shared_entries;
1300 }; 1303 };
1301 1304
1302 Label emitted_label_; // Records pc_offset of emitted pool 1305 Label emitted_label_; // Records pc_offset of emitted pool
1303 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1306 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1304 }; 1307 };
1305 1308
1306 } // namespace internal 1309 } // namespace internal
1307 } // namespace v8 1310 } // namespace v8
1308 #endif // V8_ASSEMBLER_H_ 1311 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler.cc » ('j') | src/interpreter/interpreter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698