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

Side by Side Diff: src/assembler.cc

Issue 139973004: A64: Synchronize with r15814. (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/assembler.h ('k') | src/ast.h » ('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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 #endif 845 #endif
846 case CONSTRUCT_CALL: 846 case CONSTRUCT_CALL:
847 case CODE_TARGET_CONTEXT: 847 case CODE_TARGET_CONTEXT:
848 case CODE_TARGET_WITH_ID: 848 case CODE_TARGET_WITH_ID:
849 case CODE_TARGET: { 849 case CODE_TARGET: {
850 // convert inline target address to code object 850 // convert inline target address to code object
851 Address addr = target_address(); 851 Address addr = target_address();
852 CHECK(addr != NULL); 852 CHECK(addr != NULL);
853 // Check that we can find the right code object. 853 // Check that we can find the right code object.
854 Code* code = Code::GetCodeFromTargetAddress(addr); 854 Code* code = Code::GetCodeFromTargetAddress(addr);
855 Object* found = HEAP->FindCodeObject(addr); 855 Object* found = code->GetIsolate()->FindCodeObject(addr);
856 CHECK(found->IsCode()); 856 CHECK(found->IsCode());
857 CHECK(code->address() == HeapObject::cast(found)->address()); 857 CHECK(code->address() == HeapObject::cast(found)->address());
858 break; 858 break;
859 } 859 }
860 case RUNTIME_ENTRY: 860 case RUNTIME_ENTRY:
861 case JS_RETURN: 861 case JS_RETURN:
862 case COMMENT: 862 case COMMENT:
863 case POSITION: 863 case POSITION:
864 case STATEMENT_POSITION: 864 case STATEMENT_POSITION:
865 case EXTERNAL_REFERENCE: 865 case EXTERNAL_REFERENCE:
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 return ExternalReference(Redirect( 1069 return ExternalReference(Redirect(
1070 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung))); 1070 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung)));
1071 } 1071 }
1072 1072
1073 1073
1074 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) { 1074 ExternalReference ExternalReference::date_cache_stamp(Isolate* isolate) {
1075 return ExternalReference(isolate->date_cache()->stamp_address()); 1075 return ExternalReference(isolate->date_cache()->stamp_address());
1076 } 1076 }
1077 1077
1078 1078
1079 ExternalReference ExternalReference::stress_deopt_count(Isolate* isolate) {
1080 return ExternalReference(isolate->stress_deopt_count_address());
1081 }
1082
1083
1079 ExternalReference ExternalReference::transcendental_cache_array_address( 1084 ExternalReference ExternalReference::transcendental_cache_array_address(
1080 Isolate* isolate) { 1085 Isolate* isolate) {
1081 return ExternalReference( 1086 return ExternalReference(
1082 isolate->transcendental_cache()->cache_array_address()); 1087 isolate->transcendental_cache()->cache_array_address());
1083 } 1088 }
1084 1089
1085 1090
1086 ExternalReference ExternalReference::new_deoptimizer_function( 1091 ExternalReference ExternalReference::new_deoptimizer_function(
1087 Isolate* isolate) { 1092 Isolate* isolate) {
1088 return ExternalReference( 1093 return ExternalReference(
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 return ExternalReference( 1126 return ExternalReference(
1122 isolate->keyed_lookup_cache()->field_offsets_address()); 1127 isolate->keyed_lookup_cache()->field_offsets_address());
1123 } 1128 }
1124 1129
1125 1130
1126 ExternalReference ExternalReference::roots_array_start(Isolate* isolate) { 1131 ExternalReference ExternalReference::roots_array_start(Isolate* isolate) {
1127 return ExternalReference(isolate->heap()->roots_array_start()); 1132 return ExternalReference(isolate->heap()->roots_array_start());
1128 } 1133 }
1129 1134
1130 1135
1136 ExternalReference ExternalReference::allocation_sites_list_address(
1137 Isolate* isolate) {
1138 return ExternalReference(isolate->heap()->allocation_sites_list_address());
1139 }
1140
1141
1131 ExternalReference ExternalReference::address_of_stack_limit(Isolate* isolate) { 1142 ExternalReference ExternalReference::address_of_stack_limit(Isolate* isolate) {
1132 return ExternalReference(isolate->stack_guard()->address_of_jslimit()); 1143 return ExternalReference(isolate->stack_guard()->address_of_jslimit());
1133 } 1144 }
1134 1145
1135 1146
1136 ExternalReference ExternalReference::address_of_real_stack_limit( 1147 ExternalReference ExternalReference::address_of_real_stack_limit(
1137 Isolate* isolate) { 1148 Isolate* isolate) {
1138 return ExternalReference(isolate->stack_guard()->address_of_real_jslimit()); 1149 return ExternalReference(isolate->stack_guard()->address_of_real_jslimit());
1139 } 1150 }
1140 1151
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1671 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1682 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1672 state_.written_position = state_.current_position; 1683 state_.written_position = state_.current_position;
1673 written = true; 1684 written = true;
1674 } 1685 }
1675 1686
1676 // Return whether something was written. 1687 // Return whether something was written.
1677 return written; 1688 return written;
1678 } 1689 }
1679 1690
1680 } } // namespace v8::internal 1691 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698