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

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: Re-factoring to enable FrameAndConstantPoolScope and ConstantPoolUnavailableScope to be used by oth… 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
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 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 void EmitSeqStringSetCharCheck(Register string, 895 void EmitSeqStringSetCharCheck(Register string,
896 Register index, 896 Register index,
897 Register value, 897 Register value,
898 uint32_t encoding_mask); 898 uint32_t encoding_mask);
899 899
900 static int SafepointRegisterStackIndex(Register reg) { 900 static int SafepointRegisterStackIndex(Register reg) {
901 return SafepointRegisterStackIndex(reg.code()); 901 return SafepointRegisterStackIndex(reg.code());
902 } 902 }
903 903
904 // Activation support. 904 // Activation support.
905 void EnterFrame(StackFrame::Type type); 905 void EnterFrame(StackFrame::Type type,
906 bool load_constant_pool_pointer_reg = false);
906 void LeaveFrame(StackFrame::Type type); 907 void LeaveFrame(StackFrame::Type type);
907 908
908 // Expects object in eax and returns map with validated enum cache 909 // Expects object in eax and returns map with validated enum cache
909 // in eax. Assumes that any other register can be used as a scratch. 910 // in eax. Assumes that any other register can be used as a scratch.
910 void CheckEnumCache(Label* call_runtime); 911 void CheckEnumCache(Label* call_runtime);
911 912
912 // AllocationMemento support. Arrays may have an associated 913 // AllocationMemento support. Arrays may have an associated
913 // AllocationMemento object that can be checked for in order to pretransition 914 // AllocationMemento object that can be checked for in order to pretransition
914 // to another type. 915 // to another type.
915 // On entry, receiver_reg should point to the array object. 916 // On entry, receiver_reg should point to the array object.
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 } \ 1072 } \
1072 masm-> 1073 masm->
1073 #else 1074 #else
1074 #define ACCESS_MASM(masm) masm-> 1075 #define ACCESS_MASM(masm) masm->
1075 #endif 1076 #endif
1076 1077
1077 1078
1078 } } // namespace v8::internal 1079 } } // namespace v8::internal
1079 1080
1080 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1081 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698