| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1243 } | 1243 } |
| 1244 | 1244 |
| 1245 | 1245 |
| 1246 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { | 1246 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { |
| 1247 ASSERT(ToRegister(instr->InputAt(0)).is(edx)); | 1247 ASSERT(ToRegister(instr->InputAt(0)).is(edx)); |
| 1248 ASSERT(ToRegister(instr->InputAt(1)).is(eax)); | 1248 ASSERT(ToRegister(instr->InputAt(1)).is(eax)); |
| 1249 ASSERT(ToRegister(instr->result()).is(eax)); | 1249 ASSERT(ToRegister(instr->result()).is(eax)); |
| 1250 | 1250 |
| 1251 TypeRecordingBinaryOpStub stub(instr->op(), NO_OVERWRITE); | 1251 TypeRecordingBinaryOpStub stub(instr->op(), NO_OVERWRITE); |
| 1252 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr, RESTORE_CONTEXT); | 1252 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr, RESTORE_CONTEXT); |
| 1253 __ nop(); // Signals no inlined code. |
| 1253 } | 1254 } |
| 1254 | 1255 |
| 1255 | 1256 |
| 1256 int LCodeGen::GetNextEmittedBlock(int block) { | 1257 int LCodeGen::GetNextEmittedBlock(int block) { |
| 1257 for (int i = block + 1; i < graph()->blocks()->length(); ++i) { | 1258 for (int i = block + 1; i < graph()->blocks()->length(); ++i) { |
| 1258 LLabel* label = chunk_->GetLabel(i); | 1259 LLabel* label = chunk_->GetLabel(i); |
| 1259 if (!label->HasReplacement()) return i; | 1260 if (!label->HasReplacement()) return i; |
| 1260 } | 1261 } |
| 1261 return -1; | 1262 return -1; |
| 1262 } | 1263 } |
| (...skipping 2911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4174 ASSERT(osr_pc_offset_ == -1); | 4175 ASSERT(osr_pc_offset_ == -1); |
| 4175 osr_pc_offset_ = masm()->pc_offset(); | 4176 osr_pc_offset_ = masm()->pc_offset(); |
| 4176 } | 4177 } |
| 4177 | 4178 |
| 4178 | 4179 |
| 4179 #undef __ | 4180 #undef __ |
| 4180 | 4181 |
| 4181 } } // namespace v8::internal | 4182 } } // namespace v8::internal |
| 4182 | 4183 |
| 4183 #endif // V8_TARGET_ARCH_IA32 | 4184 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |