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

Side by Side Diff: src/x87/macro-assembler-x87.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/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.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_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 Register index, 899 Register index,
900 Register value, 900 Register value,
901 uint32_t encoding_mask); 901 uint32_t encoding_mask);
902 902
903 static int SafepointRegisterStackIndex(Register reg) { 903 static int SafepointRegisterStackIndex(Register reg) {
904 return SafepointRegisterStackIndex(reg.code()); 904 return SafepointRegisterStackIndex(reg.code());
905 } 905 }
906 906
907 // Activation support. 907 // Activation support.
908 void EnterFrame(StackFrame::Type type); 908 void EnterFrame(StackFrame::Type type);
909 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg);
909 void LeaveFrame(StackFrame::Type type); 910 void LeaveFrame(StackFrame::Type type);
910 911
911 // Expects object in eax and returns map with validated enum cache 912 // Expects object in eax and returns map with validated enum cache
912 // in eax. Assumes that any other register can be used as a scratch. 913 // in eax. Assumes that any other register can be used as a scratch.
913 void CheckEnumCache(Label* call_runtime); 914 void CheckEnumCache(Label* call_runtime);
914 915
915 // AllocationMemento support. Arrays may have an associated 916 // AllocationMemento support. Arrays may have an associated
916 // AllocationMemento object that can be checked for in order to pretransition 917 // AllocationMemento object that can be checked for in order to pretransition
917 // to another type. 918 // to another type.
918 // On entry, receiver_reg should point to the array object. 919 // On entry, receiver_reg should point to the array object.
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 } \ 1075 } \
1075 masm-> 1076 masm->
1076 #else 1077 #else
1077 #define ACCESS_MASM(masm) masm-> 1078 #define ACCESS_MASM(masm) masm->
1078 #endif 1079 #endif
1079 1080
1080 1081
1081 } } // namespace v8::internal 1082 } } // namespace v8::internal
1082 1083
1083 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1084 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698