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/compiler/code-generator.cc

Issue 1578723002: [turbofan] Build s/NULL/nullptr/g and CHECK(x != nullptr) to CHECK_NOT_NULL(x). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/compiler/coalesced-live-ranges.cc ('k') | src/compiler/control-builders.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/address-map.h" 7 #include "src/address-map.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
(...skipping 23 matching lines...) Expand all
34 34
35 CodeGenerator::CodeGenerator(Frame* frame, Linkage* linkage, 35 CodeGenerator::CodeGenerator(Frame* frame, Linkage* linkage,
36 InstructionSequence* code, CompilationInfo* info) 36 InstructionSequence* code, CompilationInfo* info)
37 : frame_access_state_(new (code->zone()) FrameAccessState(frame)), 37 : frame_access_state_(new (code->zone()) FrameAccessState(frame)),
38 linkage_(linkage), 38 linkage_(linkage),
39 code_(code), 39 code_(code),
40 info_(info), 40 info_(info),
41 labels_(zone()->NewArray<Label>(code->InstructionBlockCount())), 41 labels_(zone()->NewArray<Label>(code->InstructionBlockCount())),
42 current_block_(RpoNumber::Invalid()), 42 current_block_(RpoNumber::Invalid()),
43 current_source_position_(SourcePosition::Unknown()), 43 current_source_position_(SourcePosition::Unknown()),
44 masm_(info->isolate(), NULL, 0, CodeObjectRequired::kYes), 44 masm_(info->isolate(), nullptr, 0, CodeObjectRequired::kYes),
45 resolver_(this), 45 resolver_(this),
46 safepoints_(code->zone()), 46 safepoints_(code->zone()),
47 handlers_(code->zone()), 47 handlers_(code->zone()),
48 deoptimization_states_(code->zone()), 48 deoptimization_states_(code->zone()),
49 deoptimization_literals_(code->zone()), 49 deoptimization_literals_(code->zone()),
50 inlined_function_count_(0), 50 inlined_function_count_(0),
51 translations_(code->zone()), 51 translations_(code->zone()),
52 last_lazy_deopt_pc_(0), 52 last_lazy_deopt_pc_(0),
53 jump_tables_(nullptr), 53 jump_tables_(nullptr),
54 ools_(nullptr), 54 ools_(nullptr),
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { 728 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) {
729 gen->ools_ = this; 729 gen->ools_ = this;
730 } 730 }
731 731
732 732
733 OutOfLineCode::~OutOfLineCode() {} 733 OutOfLineCode::~OutOfLineCode() {}
734 734
735 } // namespace compiler 735 } // namespace compiler
736 } // namespace internal 736 } // namespace internal
737 } // namespace v8 737 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/coalesced-live-ranges.cc ('k') | src/compiler/control-builders.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698