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

Side by Side Diff: src/s390/assembler-s390.cc

Issue 2929843002: PPC/s390: [compiler] Delay allocation of code-embedded heap numbers. (Closed)
Patch Set: missing codegen changes Created 3 years, 6 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
« no previous file with comments | « src/s390/assembler-s390.h ('k') | src/s390/codegen-s390.cc » ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 : AssemblerBase(isolate_data, buffer, buffer_size), 341 : AssemblerBase(isolate_data, buffer, buffer_size),
342 recorded_ast_id_(TypeFeedbackId::None()), 342 recorded_ast_id_(TypeFeedbackId::None()),
343 code_targets_(100) { 343 code_targets_(100) {
344 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); 344 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_);
345 345
346 last_bound_pos_ = 0; 346 last_bound_pos_ = 0;
347 ClearRecordedAstId(); 347 ClearRecordedAstId();
348 relocations_.reserve(128); 348 relocations_.reserve(128);
349 } 349 }
350 350
351 void Assembler::GetCode(CodeDesc* desc) { 351 void Assembler::GetCode(Isolate* isloate, CodeDesc* desc) {
352 EmitRelocations(); 352 EmitRelocations();
353 353
354 // Set up code descriptor. 354 // Set up code descriptor.
355 desc->buffer = buffer_; 355 desc->buffer = buffer_;
356 desc->buffer_size = buffer_size_; 356 desc->buffer_size = buffer_size_;
357 desc->instr_size = pc_offset(); 357 desc->instr_size = pc_offset();
358 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); 358 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos();
359 desc->origin = this; 359 desc->origin = this;
360 desc->unwinding_info_size = 0; 360 desc->unwinding_info_size = 0;
361 desc->unwinding_info = nullptr; 361 desc->unwinding_info = nullptr;
(...skipping 1846 matching lines...) Expand 10 before | Expand all | Expand 10 after
2208 SKIP_ICACHE_FLUSH); 2208 SKIP_ICACHE_FLUSH);
2209 } 2209 }
2210 2210
2211 reloc_info_writer.Write(&rinfo); 2211 reloc_info_writer.Write(&rinfo);
2212 } 2212 }
2213 } 2213 }
2214 2214
2215 } // namespace internal 2215 } // namespace internal
2216 } // namespace v8 2216 } // namespace v8
2217 #endif // V8_TARGET_ARCH_S390 2217 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/s390/assembler-s390.h ('k') | src/s390/codegen-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698