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

Side by Side Diff: src/crankshaft/mips64/lithium-codegen-mips64.h

Issue 1479233002: Deprecate the %IsConstructCall intrinsic completely. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_js-use-new-target-3
Patch Set: Rebased. Created 5 years 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/crankshaft/mips/lithium-mips.cc ('k') | src/crankshaft/mips64/lithium-codegen-mips64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ 5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_
6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/crankshaft/lithium-codegen.h" 9 #include "src/crankshaft/lithium-codegen.h"
10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h" 10 #include "src/crankshaft/mips64/lithium-gap-resolver-mips64.h"
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 Operand* cmp2); 306 Operand* cmp2);
307 307
308 // Emits optimized code for %_IsString(x). Preserves input register. 308 // Emits optimized code for %_IsString(x). Preserves input register.
309 // Returns the condition on which a final split to 309 // Returns the condition on which a final split to
310 // true and false label should be made, to optimize fallthrough. 310 // true and false label should be made, to optimize fallthrough.
311 Condition EmitIsString(Register input, 311 Condition EmitIsString(Register input,
312 Register temp1, 312 Register temp1,
313 Label* is_not_string, 313 Label* is_not_string,
314 SmiCheck check_needed); 314 SmiCheck check_needed);
315 315
316 // Emits optimized code for %_IsConstructCall().
317 // Caller should branch on equal condition.
318 void EmitIsConstructCall(Register temp1, Register temp2);
319
320 // Emits optimized code to deep-copy the contents of statically known 316 // Emits optimized code to deep-copy the contents of statically known
321 // object graphs (e.g. object literal boilerplate). 317 // object graphs (e.g. object literal boilerplate).
322 void EmitDeepCopy(Handle<JSObject> object, 318 void EmitDeepCopy(Handle<JSObject> object,
323 Register result, 319 Register result,
324 Register source, 320 Register source,
325 int* offset, 321 int* offset,
326 AllocationSiteMode mode); 322 AllocationSiteMode mode);
327 // Emit optimized code for integer division. 323 // Emit optimized code for integer division.
328 // Inputs are signed. 324 // Inputs are signed.
329 // All registers are clobbered. 325 // All registers are clobbered.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 Label entry_; 422 Label entry_;
427 Label exit_; 423 Label exit_;
428 Label* external_exit_; 424 Label* external_exit_;
429 int instruction_index_; 425 int instruction_index_;
430 }; 426 };
431 427
432 } // namespace internal 428 } // namespace internal
433 } // namespace v8 429 } // namespace v8
434 430
435 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_ 431 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-mips.cc ('k') | src/crankshaft/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698