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

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 609843002: Refactor FrameAndConstantPoolScope and ConstantPoolUnavailableScope to be architecture independent (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Eliminate unreachable paths. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/x64/macro-assembler-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 // 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 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 void set_has_frame(bool value) { has_frame_ = value; } 1431 void set_has_frame(bool value) { has_frame_ = value; }
1432 bool has_frame() { return has_frame_; } 1432 bool has_frame() { return has_frame_; }
1433 inline bool AllowThisStubCall(CodeStub* stub); 1433 inline bool AllowThisStubCall(CodeStub* stub);
1434 1434
1435 static int SafepointRegisterStackIndex(Register reg) { 1435 static int SafepointRegisterStackIndex(Register reg) {
1436 return SafepointRegisterStackIndex(reg.code()); 1436 return SafepointRegisterStackIndex(reg.code());
1437 } 1437 }
1438 1438
1439 // Activation support. 1439 // Activation support.
1440 void EnterFrame(StackFrame::Type type); 1440 void EnterFrame(StackFrame::Type type);
1441 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg);
1441 void LeaveFrame(StackFrame::Type type); 1442 void LeaveFrame(StackFrame::Type type);
1442 1443
1443 // Expects object in rax and returns map with validated enum cache 1444 // Expects object in rax and returns map with validated enum cache
1444 // in rax. Assumes that any other register can be used as a scratch. 1445 // in rax. Assumes that any other register can be used as a scratch.
1445 void CheckEnumCache(Register null_value, 1446 void CheckEnumCache(Register null_value,
1446 Label* call_runtime); 1447 Label* call_runtime);
1447 1448
1448 // AllocationMemento support. Arrays may have an associated 1449 // AllocationMemento support. Arrays may have an associated
1449 // AllocationMemento object that can be checked for in order to pretransition 1450 // AllocationMemento object that can be checked for in order to pretransition
1450 // to another type. 1451 // to another type.
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1641 masm->popfq(); \ 1642 masm->popfq(); \
1642 } \ 1643 } \
1643 masm-> 1644 masm->
1644 #else 1645 #else
1645 #define ACCESS_MASM(masm) masm-> 1646 #define ACCESS_MASM(masm) masm->
1646 #endif 1647 #endif
1647 1648
1648 } } // namespace v8::internal 1649 } } // namespace v8::internal
1649 1650
1650 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1651 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698