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

Side by Side Diff: src/crankshaft/ia32/lithium-codegen-ia32.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/hydrogen-instructions.cc ('k') | src/crankshaft/ia32/lithium-codegen-ia32.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_IA32_LITHIUM_CODEGEN_IA32_H_ 5 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
6 #define V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_ 6 #define V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/base/logging.h" 9 #include "src/base/logging.h"
10 #include "src/crankshaft/ia32/lithium-gap-resolver-ia32.h" 10 #include "src/crankshaft/ia32/lithium-gap-resolver-ia32.h"
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 Condition EmitTypeofIs(LTypeofIsAndBranch* instr, Register input); 270 Condition EmitTypeofIs(LTypeofIsAndBranch* instr, Register input);
271 271
272 // Emits optimized code for %_IsString(x). Preserves input register. 272 // Emits optimized code for %_IsString(x). Preserves input register.
273 // Returns the condition on which a final split to 273 // Returns the condition on which a final split to
274 // true and false label should be made, to optimize fallthrough. 274 // true and false label should be made, to optimize fallthrough.
275 Condition EmitIsString(Register input, 275 Condition EmitIsString(Register input,
276 Register temp1, 276 Register temp1,
277 Label* is_not_string, 277 Label* is_not_string,
278 SmiCheck check_needed); 278 SmiCheck check_needed);
279 279
280 // Emits optimized code for %_IsConstructCall().
281 // Caller should branch on equal condition.
282 void EmitIsConstructCall(Register temp);
283
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,
290 AllocationSiteMode mode); 286 AllocationSiteMode mode);
291 287
292 void EnsureSpaceForLazyDeopt(int space_needed) override; 288 void EnsureSpaceForLazyDeopt(int space_needed) override;
293 void DoLoadKeyedExternalArray(LLoadKeyed* instr); 289 void DoLoadKeyedExternalArray(LLoadKeyed* instr);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 Label exit_; 390 Label exit_;
395 Label* external_exit_; 391 Label* external_exit_;
396 Label done_; 392 Label done_;
397 int instruction_index_; 393 int instruction_index_;
398 }; 394 };
399 395
400 } // namespace internal 396 } // namespace internal
401 } // namespace v8 397 } // namespace v8
402 398
403 #endif // V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_ 399 #endif // V8_CRANKSHAFT_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen-instructions.cc ('k') | src/crankshaft/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698