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

Side by Side Diff: src/crankshaft/mips/lithium-codegen-mips.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/ia32/lithium-ia32.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.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_MIPS_LITHIUM_CODEGEN_MIPS_H_ 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
6 #define V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ 6 #define V8_CRANKSHAFT_MIPS_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/mips/lithium-gap-resolver-mips.h" 10 #include "src/crankshaft/mips/lithium-gap-resolver-mips.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 Operand* cmp2); 303 Operand* cmp2);
304 304
305 // Emits optimized code for %_IsString(x). Preserves input register. 305 // Emits optimized code for %_IsString(x). Preserves input register.
306 // Returns the condition on which a final split to 306 // Returns the condition on which a final split to
307 // true and false label should be made, to optimize fallthrough. 307 // true and false label should be made, to optimize fallthrough.
308 Condition EmitIsString(Register input, 308 Condition EmitIsString(Register input,
309 Register temp1, 309 Register temp1,
310 Label* is_not_string, 310 Label* is_not_string,
311 SmiCheck check_needed); 311 SmiCheck check_needed);
312 312
313 // Emits optimized code for %_IsConstructCall().
314 // Caller should branch on equal condition.
315 void EmitIsConstructCall(Register temp1, Register temp2);
316
317 // Emits optimized code to deep-copy the contents of statically known 313 // Emits optimized code to deep-copy the contents of statically known
318 // object graphs (e.g. object literal boilerplate). 314 // object graphs (e.g. object literal boilerplate).
319 void EmitDeepCopy(Handle<JSObject> object, 315 void EmitDeepCopy(Handle<JSObject> object,
320 Register result, 316 Register result,
321 Register source, 317 Register source,
322 int* offset, 318 int* offset,
323 AllocationSiteMode mode); 319 AllocationSiteMode mode);
324 // Emit optimized code for integer division. 320 // Emit optimized code for integer division.
325 // Inputs are signed. 321 // Inputs are signed.
326 // All registers are clobbered. 322 // All registers are clobbered.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 Label entry_; 419 Label entry_;
424 Label exit_; 420 Label exit_;
425 Label* external_exit_; 421 Label* external_exit_;
426 int instruction_index_; 422 int instruction_index_;
427 }; 423 };
428 424
429 } // namespace internal 425 } // namespace internal
430 } // namespace v8 426 } // namespace v8
431 427
432 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_ 428 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ia32/lithium-ia32.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698