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

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

Issue 204293004: A64: Remove Operand constructors where an implicit constructor can be used. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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/debug-a64.cc ('k') | src/a64/full-codegen-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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 kSavedRegistersAreaSize + (1 * kPointerSize)); 178 kSavedRegistersAreaSize + (1 * kPointerSize));
179 __ Sub(fp_to_sp, fp, fp_to_sp); 179 __ Sub(fp_to_sp, fp, fp_to_sp);
180 180
181 // Allocate a new deoptimizer object. 181 // Allocate a new deoptimizer object.
182 __ Ldr(x0, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); 182 __ Ldr(x0, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
183 __ Mov(x1, type()); 183 __ Mov(x1, type());
184 // Following arguments are already loaded: 184 // Following arguments are already loaded:
185 // - x2: bailout id 185 // - x2: bailout id
186 // - x3: code object address 186 // - x3: code object address
187 // - x4: fp-to-sp delta 187 // - x4: fp-to-sp delta
188 __ Mov(x5, Operand(ExternalReference::isolate_address(isolate()))); 188 __ Mov(x5, ExternalReference::isolate_address(isolate()));
189 189
190 { 190 {
191 // Call Deoptimizer::New(). 191 // Call Deoptimizer::New().
192 AllowExternalCallThatCantCauseGC scope(masm()); 192 AllowExternalCallThatCantCauseGC scope(masm());
193 __ CallCFunction(ExternalReference::new_deoptimizer_function(isolate()), 6); 193 __ CallCFunction(ExternalReference::new_deoptimizer_function(isolate()), 6);
194 } 194 }
195 195
196 // Preserve "deoptimizer" object in register x0. 196 // Preserve "deoptimizer" object in register x0.
197 Register deoptimizer = x0; 197 Register deoptimizer = x0;
198 198
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 379
380 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 380 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
381 // No out-of-line constant pool support. 381 // No out-of-line constant pool support.
382 UNREACHABLE(); 382 UNREACHABLE();
383 } 383 }
384 384
385 385
386 #undef __ 386 #undef __
387 387
388 } } // namespace v8::internal 388 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/a64/debug-a64.cc ('k') | src/a64/full-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698