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

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

Issue 23537038: Remove override mode from BinaryOpStub (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/arm/full-codegen-arm.cc ('k') | src/code-stubs.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 2141 matching lines...) Expand 10 before | Expand all | Expand 10 after
2152 break; 2152 break;
2153 } 2153 }
2154 } 2154 }
2155 2155
2156 2156
2157 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { 2157 void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
2158 ASSERT(ToRegister(instr->left()).is(r1)); 2158 ASSERT(ToRegister(instr->left()).is(r1));
2159 ASSERT(ToRegister(instr->right()).is(r0)); 2159 ASSERT(ToRegister(instr->right()).is(r0));
2160 ASSERT(ToRegister(instr->result()).is(r0)); 2160 ASSERT(ToRegister(instr->result()).is(r0));
2161 2161
2162 BinaryOpStub stub(instr->op(), NO_OVERWRITE); 2162 BinaryOpStub stub(instr->op());
2163 // Block literal pool emission to ensure nop indicating no inlined smi code 2163 // Block literal pool emission to ensure nop indicating no inlined smi code
2164 // is in the correct position. 2164 // is in the correct position.
2165 Assembler::BlockConstPoolScope block_const_pool(masm()); 2165 Assembler::BlockConstPoolScope block_const_pool(masm());
2166 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 2166 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
2167 __ nop(); // Signals no inlined code. 2167 __ nop(); // Signals no inlined code.
2168 } 2168 }
2169 2169
2170 2170
2171 int LCodeGen::GetNextEmittedBlock() const { 2171 int LCodeGen::GetNextEmittedBlock() const {
2172 for (int i = current_block_ + 1; i < graph()->blocks()->length(); ++i) { 2172 for (int i = current_block_ + 1; i < graph()->blocks()->length(); ++i) {
(...skipping 3614 matching lines...) Expand 10 before | Expand all | Expand 10 after
5787 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index)); 5787 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index));
5788 __ ldr(result, FieldMemOperand(scratch, 5788 __ ldr(result, FieldMemOperand(scratch,
5789 FixedArray::kHeaderSize - kPointerSize)); 5789 FixedArray::kHeaderSize - kPointerSize));
5790 __ bind(&done); 5790 __ bind(&done);
5791 } 5791 }
5792 5792
5793 5793
5794 #undef __ 5794 #undef __
5795 5795
5796 } } // namespace v8::internal 5796 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698