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

Side by Side Diff: src/code-stubs.cc

Issue 2394213003: Named all zones in the project (Closed)
Patch Set: Merge branch 'master' into zonenames Created 4 years, 2 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/builtins/builtins.cc ('k') | src/code-stubs-hydrogen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/code-stubs.h" 5 #include "src/code-stubs.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 GenerateKnownReceivers(masm); 404 GenerateKnownReceivers(masm);
405 break; 405 break;
406 case CompareICState::GENERIC: 406 case CompareICState::GENERIC:
407 GenerateGeneric(masm); 407 GenerateGeneric(masm);
408 break; 408 break;
409 } 409 }
410 } 410 }
411 411
412 Handle<Code> TurboFanCodeStub::GenerateCode() { 412 Handle<Code> TurboFanCodeStub::GenerateCode() {
413 const char* name = CodeStub::MajorName(MajorKey()); 413 const char* name = CodeStub::MajorName(MajorKey());
414 Zone zone(isolate()->allocator()); 414 Zone zone(isolate()->allocator(), ZONE_NAME);
415 CallInterfaceDescriptor descriptor(GetCallInterfaceDescriptor()); 415 CallInterfaceDescriptor descriptor(GetCallInterfaceDescriptor());
416 CodeStubAssembler assembler(isolate(), &zone, descriptor, GetCodeFlags(), 416 CodeStubAssembler assembler(isolate(), &zone, descriptor, GetCodeFlags(),
417 name); 417 name);
418 GenerateAssembly(&assembler); 418 GenerateAssembly(&assembler);
419 return assembler.GenerateCode(); 419 return assembler.GenerateCode();
420 } 420 }
421 421
422 void LoadICTrampolineStub::GenerateAssembly( 422 void LoadICTrampolineStub::GenerateAssembly(
423 CodeStubAssembler* assembler) const { 423 CodeStubAssembler* assembler) const {
424 typedef compiler::Node Node; 424 typedef compiler::Node Node;
(...skipping 2612 matching lines...) Expand 10 before | Expand all | Expand 10 after
3037 3037
3038 if (type == MachineType::Pointer()) { 3038 if (type == MachineType::Pointer()) {
3039 return Representation::External(); 3039 return Representation::External();
3040 } 3040 }
3041 3041
3042 return Representation::Tagged(); 3042 return Representation::Tagged();
3043 } 3043 }
3044 3044
3045 } // namespace internal 3045 } // namespace internal
3046 } // namespace v8 3046 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698