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

Side by Side Diff: src/assembler.cc

Issue 132373011: A64: Synchronize with r17635. (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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 } else if (rmode_ == EXTERNAL_REFERENCE) { 822 } else if (rmode_ == EXTERNAL_REFERENCE) {
823 ExternalReferenceEncoder ref_encoder(isolate); 823 ExternalReferenceEncoder ref_encoder(isolate);
824 PrintF(out, " (%s) (%p)", 824 PrintF(out, " (%s) (%p)",
825 ref_encoder.NameOfAddress(target_reference()), 825 ref_encoder.NameOfAddress(target_reference()),
826 target_reference()); 826 target_reference());
827 } else if (IsCodeTarget(rmode_)) { 827 } else if (IsCodeTarget(rmode_)) {
828 Code* code = Code::GetCodeFromTargetAddress(target_address()); 828 Code* code = Code::GetCodeFromTargetAddress(target_address());
829 PrintF(out, " (%s) (%p)", Code::Kind2String(code->kind()), 829 PrintF(out, " (%s) (%p)", Code::Kind2String(code->kind()),
830 target_address()); 830 target_address());
831 if (rmode_ == CODE_TARGET_WITH_ID) { 831 if (rmode_ == CODE_TARGET_WITH_ID) {
832 PrintF(" (id=%d)", static_cast<int>(data_)); 832 PrintF(out, " (id=%d)", static_cast<int>(data_));
833 } 833 }
834 } else if (IsPosition(rmode_)) { 834 } else if (IsPosition(rmode_)) {
835 PrintF(out, " (%" V8_PTR_PREFIX "d)", data()); 835 PrintF(out, " (%" V8_PTR_PREFIX "d)", data());
836 } else if (IsRuntimeEntry(rmode_) && 836 } else if (IsRuntimeEntry(rmode_) &&
837 isolate->deoptimizer_data() != NULL) { 837 isolate->deoptimizer_data() != NULL) {
838 // Depotimization bailouts are stored as runtime entries. 838 // Depotimization bailouts are stored as runtime entries.
839 int id = Deoptimizer::GetDeoptimizationId( 839 int id = Deoptimizer::GetDeoptimizationId(
840 isolate, target_address(), Deoptimizer::EAGER); 840 isolate, target_address(), Deoptimizer::EAGER);
841 if (id != Deoptimizer::kNotDeoptimizationEntry) { 841 if (id != Deoptimizer::kNotDeoptimizationEntry) {
842 PrintF(out, " (deoptimization bailout %d)", id); 842 PrintF(out, " (deoptimization bailout %d)", id);
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache))); 1049 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(CPU::FlushICache)));
1050 } 1050 }
1051 1051
1052 1052
1053 ExternalReference ExternalReference::perform_gc_function(Isolate* isolate) { 1053 ExternalReference ExternalReference::perform_gc_function(Isolate* isolate) {
1054 return 1054 return
1055 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::PerformGC))); 1055 ExternalReference(Redirect(isolate, FUNCTION_ADDR(Runtime::PerformGC)));
1056 } 1056 }
1057 1057
1058 1058
1059 ExternalReference ExternalReference::fill_heap_number_with_random_function(
1060 Isolate* isolate) {
1061 return ExternalReference(Redirect(
1062 isolate,
1063 FUNCTION_ADDR(V8::FillHeapNumberWithRandom)));
1064 }
1065
1066
1067 ExternalReference ExternalReference::delete_handle_scope_extensions( 1059 ExternalReference ExternalReference::delete_handle_scope_extensions(
1068 Isolate* isolate) { 1060 Isolate* isolate) {
1069 return ExternalReference(Redirect( 1061 return ExternalReference(Redirect(
1070 isolate, 1062 isolate,
1071 FUNCTION_ADDR(HandleScope::DeleteExtensions))); 1063 FUNCTION_ADDR(HandleScope::DeleteExtensions)));
1072 } 1064 }
1073 1065
1074 1066
1075 ExternalReference ExternalReference::random_uint32_function( 1067 ExternalReference ExternalReference::random_uint32_function(
1076 Isolate* isolate) { 1068 Isolate* isolate) {
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 reinterpret_cast<void*>(&double_constants.canonical_non_hole_nan)); 1331 reinterpret_cast<void*>(&double_constants.canonical_non_hole_nan));
1340 } 1332 }
1341 1333
1342 1334
1343 ExternalReference ExternalReference::address_of_the_hole_nan() { 1335 ExternalReference ExternalReference::address_of_the_hole_nan() {
1344 return ExternalReference( 1336 return ExternalReference(
1345 reinterpret_cast<void*>(&double_constants.the_hole_nan)); 1337 reinterpret_cast<void*>(&double_constants.the_hole_nan));
1346 } 1338 }
1347 1339
1348 1340
1349 ExternalReference ExternalReference::record_object_allocation_function(
1350 Isolate* isolate) {
1351 return ExternalReference(
1352 Redirect(isolate,
1353 FUNCTION_ADDR(HeapProfiler::RecordObjectAllocationFromMasm)));
1354 }
1355
1356
1357 ExternalReference ExternalReference::address_of_uint32_bias() { 1341 ExternalReference ExternalReference::address_of_uint32_bias() {
1358 return ExternalReference( 1342 return ExternalReference(
1359 reinterpret_cast<void*>(&double_constants.uint32_bias)); 1343 reinterpret_cast<void*>(&double_constants.uint32_bias));
1360 } 1344 }
1361 1345
1362 1346
1363 #ifndef V8_INTERPRETED_REGEXP 1347 #ifndef V8_INTERPRETED_REGEXP
1364 1348
1365 ExternalReference ExternalReference::re_check_stack_guard_state( 1349 ExternalReference ExternalReference::re_check_stack_guard_state(
1366 Isolate* isolate) { 1350 Isolate* isolate) {
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1707 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1724 state_.written_position = state_.current_position; 1708 state_.written_position = state_.current_position;
1725 written = true; 1709 written = true;
1726 } 1710 }
1727 1711
1728 // Return whether something was written. 1712 // Return whether something was written.
1729 return written; 1713 return written;
1730 } 1714 }
1731 1715
1732 } } // namespace v8::internal 1716 } } // 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