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

Side by Side Diff: src/lithium.cc

Issue 148573005: A64: Synchronize with r16249. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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/lithium.h ('k') | src/mips/lithium-codegen-mips.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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 457
458 MarkEmptyBlocks(); 458 MarkEmptyBlocks();
459 459
460 if (generator.GenerateCode()) { 460 if (generator.GenerateCode()) {
461 CodeGenerator::MakeCodePrologue(info(), "optimized"); 461 CodeGenerator::MakeCodePrologue(info(), "optimized");
462 Code::Flags flags = info()->flags(); 462 Code::Flags flags = info()->flags();
463 Handle<Code> code = 463 Handle<Code> code =
464 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info()); 464 CodeGenerator::MakeCodeEpilogue(&assembler, flags, info());
465 generator.FinishCode(code); 465 generator.FinishCode(code);
466 code->set_is_crankshafted(true); 466 code->set_is_crankshafted(true);
467 if (!code.is_null()) { 467 void* jit_handler_data =
468 void* jit_handler_data = 468 assembler.positions_recorder()->DetachJITHandlerData();
469 assembler.positions_recorder()->DetachJITHandlerData(); 469 LOG_CODE_EVENT(info()->isolate(),
470 LOG_CODE_EVENT(info()->isolate(), 470 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data));
471 CodeEndLinePosInfoRecordEvent(*code, jit_handler_data));
472 }
473 471
474 CodeGenerator::PrintCode(code, info()); 472 CodeGenerator::PrintCode(code, info());
475 return code; 473 return code;
476 } 474 }
477 return Handle<Code>::null(); 475 return Handle<Code>::null();
478 } 476 }
479 477
480 478
481 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) { 479 void LChunk::set_allocated_double_registers(BitVector* allocated_registers) {
482 allocated_double_registers_ = allocated_registers; 480 allocated_double_registers_ = allocated_registers;
(...skipping 13 matching lines...) Expand all
496 494
497 495
498 LPhase::~LPhase() { 496 LPhase::~LPhase() {
499 if (ShouldProduceTraceOutput()) { 497 if (ShouldProduceTraceOutput()) {
500 isolate()->GetHTracer()->TraceLithium(name(), chunk_); 498 isolate()->GetHTracer()->TraceLithium(name(), chunk_);
501 } 499 }
502 } 500 }
503 501
504 502
505 } } // namespace v8::internal 503 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/lithium.h ('k') | src/mips/lithium-codegen-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698