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

Side by Side Diff: src/crankshaft/x87/lithium-codegen-x87.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/x64/lithium-x64.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.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_X87_LITHIUM_CODEGEN_X87_H_ 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_
6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ 6 #define V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 Condition EmitTypeofIs(LTypeofIsAndBranch* instr, Register input); 299 Condition EmitTypeofIs(LTypeofIsAndBranch* instr, Register input);
300 300
301 // Emits optimized code for %_IsString(x). Preserves input register. 301 // Emits optimized code for %_IsString(x). Preserves input register.
302 // Returns the condition on which a final split to 302 // Returns the condition on which a final split to
303 // true and false label should be made, to optimize fallthrough. 303 // true and false label should be made, to optimize fallthrough.
304 Condition EmitIsString(Register input, 304 Condition EmitIsString(Register input,
305 Register temp1, 305 Register temp1,
306 Label* is_not_string, 306 Label* is_not_string,
307 SmiCheck check_needed); 307 SmiCheck check_needed);
308 308
309 // Emits optimized code for %_IsConstructCall().
310 // Caller should branch on equal condition.
311 void EmitIsConstructCall(Register temp);
312
313 // Emits optimized code to deep-copy the contents of statically known 309 // Emits optimized code to deep-copy the contents of statically known
314 // object graphs (e.g. object literal boilerplate). 310 // object graphs (e.g. object literal boilerplate).
315 void EmitDeepCopy(Handle<JSObject> object, 311 void EmitDeepCopy(Handle<JSObject> object,
316 Register result, 312 Register result,
317 Register source, 313 Register source,
318 int* offset, 314 int* offset,
319 AllocationSiteMode mode); 315 AllocationSiteMode mode);
320 316
321 void EnsureSpaceForLazyDeopt(int space_needed) override; 317 void EnsureSpaceForLazyDeopt(int space_needed) override;
322 void DoLoadKeyedExternalArray(LLoadKeyed* instr); 318 void DoLoadKeyedExternalArray(LLoadKeyed* instr);
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 Label* external_exit_; 492 Label* external_exit_;
497 Label done_; 493 Label done_;
498 int instruction_index_; 494 int instruction_index_;
499 LCodeGen::X87Stack x87_stack_; 495 LCodeGen::X87Stack x87_stack_;
500 }; 496 };
501 497
502 } // namespace internal 498 } // namespace internal
503 } // namespace v8 499 } // namespace v8
504 500
505 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_ 501 #endif // V8_CRANKSHAFT_X87_LITHIUM_CODEGEN_X87_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-x64.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698