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

Side by Side Diff: src/mips/lithium-codegen-mips.h

Issue 14367003: MIPS: HArgument instructions currently require a frame. In Lithium we can ensure a frame is created… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 | « no previous file | src/mips/lithium-mips.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 // 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 MacroAssembler* masm() const { return masm_; } 75 MacroAssembler* masm() const { return masm_; }
76 CompilationInfo* info() const { return info_; } 76 CompilationInfo* info() const { return info_; }
77 Isolate* isolate() const { return info_->isolate(); } 77 Isolate* isolate() const { return info_->isolate(); }
78 Factory* factory() const { return isolate()->factory(); } 78 Factory* factory() const { return isolate()->factory(); }
79 Heap* heap() const { return isolate()->heap(); } 79 Heap* heap() const { return isolate()->heap(); }
80 Zone* zone() const { return zone_; } 80 Zone* zone() const { return zone_; }
81 81
82 bool NeedsEagerFrame() const { 82 bool NeedsEagerFrame() const {
83 return GetStackSlotCount() > 0 || 83 return GetStackSlotCount() > 0 ||
84 info()->is_non_deferred_calling() || 84 info()->is_non_deferred_calling() ||
85 !info()->IsStub(); 85 !info()->IsStub() ||
86 info()->requires_frame();
86 } 87 }
87 bool NeedsDeferredFrame() const { 88 bool NeedsDeferredFrame() const {
88 return !NeedsEagerFrame() && info()->is_deferred_calling(); 89 return !NeedsEagerFrame() && info()->is_deferred_calling();
89 } 90 }
90 91
91 RAStatus GetRAState() const { 92 RAStatus GetRAState() const {
92 return frame_is_built_ ? kRAHasBeenSaved : kRAHasNotBeenSaved; 93 return frame_is_built_ ? kRAHasBeenSaved : kRAHasNotBeenSaved;
93 } 94 }
94 95
95 // Support for converting LOperands to assembler types. 96 // Support for converting LOperands to assembler types.
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 LCodeGen* codegen_; 498 LCodeGen* codegen_;
498 Label entry_; 499 Label entry_;
499 Label exit_; 500 Label exit_;
500 Label* external_exit_; 501 Label* external_exit_;
501 int instruction_index_; 502 int instruction_index_;
502 }; 503 };
503 504
504 } } // namespace v8::internal 505 } } // namespace v8::internal
505 506
506 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 507 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698