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

Side by Side Diff: src/assembler.h

Issue 1845463003: Remove usages of Heap::NewSpaceStart and its external reference (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Only use 1 constant, reordered checks a bit to have earlier bail outs for old space Created 4 years, 8 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 | « src/arm64/macro-assembler-arm64.cc ('k') | src/assembler.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 (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 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 // Static variable RegExpStack::limit_address() 980 // Static variable RegExpStack::limit_address()
981 static ExternalReference address_of_regexp_stack_limit(Isolate* isolate); 981 static ExternalReference address_of_regexp_stack_limit(Isolate* isolate);
982 982
983 // Static variables for RegExp. 983 // Static variables for RegExp.
984 static ExternalReference address_of_static_offsets_vector(Isolate* isolate); 984 static ExternalReference address_of_static_offsets_vector(Isolate* isolate);
985 static ExternalReference address_of_regexp_stack_memory_address( 985 static ExternalReference address_of_regexp_stack_memory_address(
986 Isolate* isolate); 986 Isolate* isolate);
987 static ExternalReference address_of_regexp_stack_memory_size( 987 static ExternalReference address_of_regexp_stack_memory_size(
988 Isolate* isolate); 988 Isolate* isolate);
989 989
990 // Static variable Heap::NewSpaceStart()
991 static ExternalReference new_space_start(Isolate* isolate);
992
993 // Write barrier. 990 // Write barrier.
994 static ExternalReference store_buffer_top(Isolate* isolate); 991 static ExternalReference store_buffer_top(Isolate* isolate);
995 992
996 // Used for fast allocation in generated code. 993 // Used for fast allocation in generated code.
997 static ExternalReference new_space_allocation_top_address(Isolate* isolate); 994 static ExternalReference new_space_allocation_top_address(Isolate* isolate);
998 static ExternalReference new_space_allocation_limit_address(Isolate* isolate); 995 static ExternalReference new_space_allocation_limit_address(Isolate* isolate);
999 static ExternalReference old_space_allocation_top_address(Isolate* isolate); 996 static ExternalReference old_space_allocation_top_address(Isolate* isolate);
1000 static ExternalReference old_space_allocation_limit_address(Isolate* isolate); 997 static ExternalReference old_space_allocation_limit_address(Isolate* isolate);
1001 998
1002 static ExternalReference mod_two_doubles_operation(Isolate* isolate); 999 static ExternalReference mod_two_doubles_operation(Isolate* isolate);
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 std::vector<ConstantPoolEntry> shared_entries; 1315 std::vector<ConstantPoolEntry> shared_entries;
1319 }; 1316 };
1320 1317
1321 Label emitted_label_; // Records pc_offset of emitted pool 1318 Label emitted_label_; // Records pc_offset of emitted pool
1322 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1319 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1323 }; 1320 };
1324 1321
1325 } // namespace internal 1322 } // namespace internal
1326 } // namespace v8 1323 } // namespace v8
1327 #endif // V8_ASSEMBLER_H_ 1324 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698