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

Side by Side Diff: src/a64/simulator-a64.cc

Issue 151163005: A64: Synchronize with r16356. (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/a64/macro-assembler-a64.cc ('k') | src/a64/stub-cache-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 3128 matching lines...) Expand 10 before | Expand all | Expand 10 after
3139 reinterpret_cast<void*>(redirection->external_function())); 3139 reinterpret_cast<void*>(redirection->external_function()));
3140 3140
3141 // SP must be 16 bytes aligned at the call interface. 3141 // SP must be 16 bytes aligned at the call interface.
3142 bool stack_alignment_exception = ((sp() & 0xf) != 0); 3142 bool stack_alignment_exception = ((sp() & 0xf) != 0);
3143 if (stack_alignment_exception) { 3143 if (stack_alignment_exception) {
3144 TraceSim(" with unaligned stack 0x%016" PRIx64 ".\n", sp()); 3144 TraceSim(" with unaligned stack 0x%016" PRIx64 ".\n", sp());
3145 ALIGNMENT_EXCEPTION(); 3145 ALIGNMENT_EXCEPTION();
3146 } 3146 }
3147 3147
3148 switch (redirection->type()) { 3148 switch (redirection->type()) {
3149 // TODO(jbramley): The old-style callbacks (returning a Handle) have
3150 // been removed. We should remove their handlers from here, too.
3151
3149 default: 3152 default:
3150 TraceSim("Type: Unknown.\n"); 3153 TraceSim("Type: Unknown.\n");
3151 UNREACHABLE(); 3154 UNREACHABLE();
3152 break; 3155 break;
3153 3156
3154 case ExternalReference::BUILTIN_CALL: { 3157 case ExternalReference::BUILTIN_CALL: {
3155 // MaybeObject* f(v8::internal::Arguments). 3158 // MaybeObject* f(v8::internal::Arguments).
3156 TraceSim("Type: BUILTIN_CALL\n"); 3159 TraceSim("Type: BUILTIN_CALL\n");
3157 SimulatorRuntimeCall target = 3160 SimulatorRuntimeCall target =
3158 reinterpret_cast<SimulatorRuntimeCall>(external); 3161 reinterpret_cast<SimulatorRuntimeCall>(external);
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
3418 default: 3421 default:
3419 UNIMPLEMENTED(); 3422 UNIMPLEMENTED();
3420 } 3423 }
3421 } 3424 }
3422 3425
3423 #endif // USE_SIMULATOR 3426 #endif // USE_SIMULATOR
3424 3427
3425 } } // namespace v8::internal 3428 } } // namespace v8::internal
3426 3429
3427 #endif // V8_TARGET_ARCH_A64 3430 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/macro-assembler-a64.cc ('k') | src/a64/stub-cache-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698