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

Side by Side Diff: src/crankshaft/x64/lithium-codegen-x64.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/ppc/lithium-ppc.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.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_X64_LITHIUM_CODEGEN_X64_H_ 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ 6 #define V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
7 7
8 8
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 Condition EmitTypeofIs(LTypeofIsAndBranch* instr, Register input); 266 Condition EmitTypeofIs(LTypeofIsAndBranch* instr, Register input);
267 267
268 // Emits optimized code for %_IsString(x). Preserves input register. 268 // Emits optimized code for %_IsString(x). Preserves input register.
269 // Returns the condition on which a final split to 269 // Returns the condition on which a final split to
270 // true and false label should be made, to optimize fallthrough. 270 // true and false label should be made, to optimize fallthrough.
271 Condition EmitIsString(Register input, 271 Condition EmitIsString(Register input,
272 Register temp1, 272 Register temp1,
273 Label* is_not_string, 273 Label* is_not_string,
274 SmiCheck check_needed); 274 SmiCheck check_needed);
275 275
276 // Emits optimized code for %_IsConstructCall().
277 // Caller should branch on equal condition.
278 void EmitIsConstructCall(Register temp);
279
280 // Emits code for pushing either a tagged constant, a (non-double) 276 // Emits code for pushing either a tagged constant, a (non-double)
281 // register, or a stack slot operand. 277 // register, or a stack slot operand.
282 void EmitPushTaggedOperand(LOperand* operand); 278 void EmitPushTaggedOperand(LOperand* operand);
283 279
284 // Emits optimized code to deep-copy the contents of statically known 280 // Emits optimized code to deep-copy the contents of statically known
285 // object graphs (e.g. object literal boilerplate). 281 // object graphs (e.g. object literal boilerplate).
286 void EmitDeepCopy(Handle<JSObject> object, 282 void EmitDeepCopy(Handle<JSObject> object,
287 Register result, 283 Register result,
288 Register source, 284 Register source,
289 int* offset, 285 int* offset,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 Label exit_; 380 Label exit_;
385 Label done_; 381 Label done_;
386 Label* external_exit_; 382 Label* external_exit_;
387 int instruction_index_; 383 int instruction_index_;
388 }; 384 };
389 385
390 } // namespace internal 386 } // namespace internal
391 } // namespace v8 387 } // namespace v8
392 388
393 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_ 389 #endif // V8_CRANKSHAFT_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-ppc.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698