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

Side by Side Diff: src/ia32/macro-assembler-ia32.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_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 void EmitSeqStringSetCharCheck(Register string, 928 void EmitSeqStringSetCharCheck(Register string,
929 Register index, 929 Register index,
930 Register value, 930 Register value,
931 uint32_t encoding_mask); 931 uint32_t encoding_mask);
932 932
933 static int SafepointRegisterStackIndex(Register reg) { 933 static int SafepointRegisterStackIndex(Register reg) {
934 return SafepointRegisterStackIndex(reg.code()); 934 return SafepointRegisterStackIndex(reg.code());
935 } 935 }
936 936
937 // Activation support. 937 // Activation support.
938 void EnterFrame(StackFrame::Type type); 938 void EnterFrame(StackFrame::Type type,
939 bool load_constant_pool_pointer_reg = false);
939 void LeaveFrame(StackFrame::Type type); 940 void LeaveFrame(StackFrame::Type type);
940 941
941 // Expects object in eax and returns map with validated enum cache 942 // Expects object in eax and returns map with validated enum cache
942 // in eax. Assumes that any other register can be used as a scratch. 943 // in eax. Assumes that any other register can be used as a scratch.
943 void CheckEnumCache(Label* call_runtime); 944 void CheckEnumCache(Label* call_runtime);
944 945
945 // AllocationMemento support. Arrays may have an associated 946 // AllocationMemento support. Arrays may have an associated
946 // AllocationMemento object that can be checked for in order to pretransition 947 // AllocationMemento object that can be checked for in order to pretransition
947 // to another type. 948 // to another type.
948 // On entry, receiver_reg should point to the array object. 949 // On entry, receiver_reg should point to the array object.
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1104 } \ 1105 } \
1105 masm-> 1106 masm->
1106 #else 1107 #else
1107 #define ACCESS_MASM(masm) masm-> 1108 #define ACCESS_MASM(masm) masm->
1108 #endif 1109 #endif
1109 1110
1110 1111
1111 } } // namespace v8::internal 1112 } } // namespace v8::internal
1112 1113
1113 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1114 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698