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

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

Issue 2900683002: [compiler] Delay allocation of code-embedded heap numbers. (Closed)
Patch Set: Fix rebase. 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/mips64/assembler-mips64.h ('k') | src/mips64/codegen-mips64.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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 internal_trampoline_exception_ = false; 284 internal_trampoline_exception_ = false;
285 last_bound_pos_ = 0; 285 last_bound_pos_ = 0;
286 286
287 trampoline_emitted_ = FLAG_force_long_branches; 287 trampoline_emitted_ = FLAG_force_long_branches;
288 unbound_labels_count_ = 0; 288 unbound_labels_count_ = 0;
289 block_buffer_growth_ = false; 289 block_buffer_growth_ = false;
290 290
291 ClearRecordedAstId(); 291 ClearRecordedAstId();
292 } 292 }
293 293
294 294 void Assembler::GetCode(Isolate* isolate, CodeDesc* desc) {
295 void Assembler::GetCode(CodeDesc* desc) {
296 EmitForbiddenSlotInstruction(); 295 EmitForbiddenSlotInstruction();
297 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. 296 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap.
298 // Set up code descriptor. 297 // Set up code descriptor.
299 desc->buffer = buffer_; 298 desc->buffer = buffer_;
300 desc->buffer_size = buffer_size_; 299 desc->buffer_size = buffer_size_;
301 desc->instr_size = pc_offset(); 300 desc->instr_size = pc_offset();
302 desc->reloc_size = 301 desc->reloc_size =
303 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer.pos()); 302 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer.pos());
304 desc->origin = this; 303 desc->origin = this;
305 desc->constant_pool_size = 0; 304 desc->constant_pool_size = 0;
(...skipping 3757 matching lines...) Expand 10 before | Expand all | Expand 10 after
4063 4062
4064 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { 4063 if (icache_flush_mode != SKIP_ICACHE_FLUSH) {
4065 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); 4064 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize);
4066 } 4065 }
4067 } 4066 }
4068 4067
4069 } // namespace internal 4068 } // namespace internal
4070 } // namespace v8 4069 } // namespace v8
4071 4070
4072 #endif // V8_TARGET_ARCH_MIPS64 4071 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.h ('k') | src/mips64/codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698