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

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

Issue 14354003: HArgument instructions currently require a frame. In Lithium we can ensure a frame (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 | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-x64.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 // Support for converting LOperands to assembler types. 92 // Support for converting LOperands to assembler types.
92 Register ToRegister(LOperand* op) const; 93 Register ToRegister(LOperand* op) const;
93 XMMRegister ToDoubleRegister(LOperand* op) const; 94 XMMRegister ToDoubleRegister(LOperand* op) const;
94 bool IsInteger32Constant(LConstantOperand* op) const; 95 bool IsInteger32Constant(LConstantOperand* op) const;
95 int ToInteger32(LConstantOperand* op) const; 96 int ToInteger32(LConstantOperand* op) const;
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 LCodeGen* codegen_; 431 LCodeGen* codegen_;
431 Label entry_; 432 Label entry_;
432 Label exit_; 433 Label exit_;
433 Label* external_exit_; 434 Label* external_exit_;
434 int instruction_index_; 435 int instruction_index_;
435 }; 436 };
436 437
437 } } // namespace v8::internal 438 } } // namespace v8::internal
438 439
439 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 440 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698