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

Side by Side Diff: src/a64/lithium-codegen-a64.cc

Issue 181873002: A64: Move veneer emission checking in the Assembler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove the force_emit parameter in CheckVeneerPool Created 6 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « src/a64/full-codegen-a64.cc ('k') | src/a64/macro-assembler-a64.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 CallCodeGeneric(code, mode, instr, RECORD_SIMPLE_SAFEPOINT); 407 CallCodeGeneric(code, mode, instr, RECORD_SIMPLE_SAFEPOINT);
408 } 408 }
409 409
410 410
411 void LCodeGen::CallCodeGeneric(Handle<Code> code, 411 void LCodeGen::CallCodeGeneric(Handle<Code> code,
412 RelocInfo::Mode mode, 412 RelocInfo::Mode mode,
413 LInstruction* instr, 413 LInstruction* instr,
414 SafepointMode safepoint_mode) { 414 SafepointMode safepoint_mode) {
415 ASSERT(instr != NULL); 415 ASSERT(instr != NULL);
416 416
417 Assembler::BlockConstPoolScope scope(masm_); 417 Assembler::BlockPoolsScope scope(masm_);
418 __ Call(code, mode); 418 __ Call(code, mode);
419 RecordSafepointWithLazyDeopt(instr, safepoint_mode); 419 RecordSafepointWithLazyDeopt(instr, safepoint_mode);
420 420
421 if ((code->kind() == Code::BINARY_OP_IC) || 421 if ((code->kind() == Code::BINARY_OP_IC) ||
422 (code->kind() == Code::COMPARE_IC)) { 422 (code->kind() == Code::COMPARE_IC)) {
423 // Signal that we don't inline smi code before these stubs in the 423 // Signal that we don't inline smi code before these stubs in the
424 // optimizing code generator. 424 // optimizing code generator.
425 InlineSmiCheckInfo::EmitNotInlined(masm()); 425 InlineSmiCheckInfo::EmitNotInlined(masm());
426 } 426 }
427 } 427 }
(...skipping 5238 matching lines...) Expand 10 before | Expand all | Expand 10 after
5666 __ Bind(&out_of_object); 5666 __ Bind(&out_of_object);
5667 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset)); 5667 __ Ldr(result, FieldMemOperand(object, JSObject::kPropertiesOffset));
5668 // Index is equal to negated out of object property index plus 1. 5668 // Index is equal to negated out of object property index plus 1.
5669 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2)); 5669 __ Sub(result, result, Operand::UntagSmiAndScale(index, kPointerSizeLog2));
5670 __ Ldr(result, FieldMemOperand(result, 5670 __ Ldr(result, FieldMemOperand(result,
5671 FixedArray::kHeaderSize - kPointerSize)); 5671 FixedArray::kHeaderSize - kPointerSize));
5672 __ Bind(&done); 5672 __ Bind(&done);
5673 } 5673 }
5674 5674
5675 } } // namespace v8::internal 5675 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/a64/full-codegen-a64.cc ('k') | src/a64/macro-assembler-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698