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

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

Issue 6334055: Merge r6576 and r6581 from bleeding_edge to 3.0 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.0/build/ia32
Patch Set: Created 9 years, 10 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/x64/deoptimizer-x64.cc ('k') | src/x64/lithium-x64.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 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 translation->StoreLiteral(src_index); 339 translation->StoreLiteral(src_index);
340 } else { 340 } else {
341 UNREACHABLE(); 341 UNREACHABLE();
342 } 342 }
343 } 343 }
344 344
345 345
346 void LCodeGen::CallCode(Handle<Code> code, 346 void LCodeGen::CallCode(Handle<Code> code,
347 RelocInfo::Mode mode, 347 RelocInfo::Mode mode,
348 LInstruction* instr) { 348 LInstruction* instr) {
349 if (instr != NULL) { 349 ASSERT(instr != NULL);
350 LPointerMap* pointers = instr->pointer_map(); 350 LPointerMap* pointers = instr->pointer_map();
351 RecordPosition(pointers->position()); 351 RecordPosition(pointers->position());
352 __ call(code, mode); 352 __ call(code, mode);
353 RegisterLazyDeoptimization(instr); 353 RegisterLazyDeoptimization(instr);
354 } else {
355 LPointerMap no_pointers(0);
356 RecordPosition(no_pointers.position());
357 __ call(code, mode);
358 RecordSafepoint(&no_pointers, Safepoint::kNoDeoptimizationIndex);
359 }
360 354
361 // Signal that we don't inline smi code before these stubs in the 355 // Signal that we don't inline smi code before these stubs in the
362 // optimizing code generator. 356 // optimizing code generator.
363 if (code->kind() == Code::TYPE_RECORDING_BINARY_OP_IC || 357 if (code->kind() == Code::TYPE_RECORDING_BINARY_OP_IC ||
364 code->kind() == Code::COMPARE_IC) { 358 code->kind() == Code::COMPARE_IC) {
365 __ nop(); 359 __ nop();
366 } 360 }
367 } 361 }
368 362
369 363
(...skipping 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after
2012 2006
2013 void LCodeGen::DoOsrEntry(LOsrEntry* instr) { 2007 void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
2014 Abort("Unimplemented: %s", "DoOsrEntry"); 2008 Abort("Unimplemented: %s", "DoOsrEntry");
2015 } 2009 }
2016 2010
2017 #undef __ 2011 #undef __
2018 2012
2019 } } // namespace v8::internal 2013 } } // namespace v8::internal
2020 2014
2021 #endif // V8_TARGET_ARCH_X64 2015 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/deoptimizer-x64.cc ('k') | src/x64/lithium-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698