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

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

Issue 942513002: Put the type feedback vector in the unoptimized JavaScript frame. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reduced constant in deep recursion test for windows. Created 5 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
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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_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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg, 960 TestJSArrayForAllocationMemento(receiver_reg, scratch_reg,
961 &no_memento_found); 961 &no_memento_found);
962 j(equal, memento_found); 962 j(equal, memento_found);
963 bind(&no_memento_found); 963 bind(&no_memento_found);
964 } 964 }
965 965
966 // Jumps to found label if a prototype map has dictionary elements. 966 // Jumps to found label if a prototype map has dictionary elements.
967 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, 967 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0,
968 Register scratch1, Label* found); 968 Register scratch1, Label* found);
969 969
970 // OSR needs to adjust locals on the stack down one word over the vector.
971 void AdaptUnoptimizedFrameForOsrEntry(int unoptimized_slot_count,
972 Register scratch0, Register scratch1);
973
970 private: 974 private:
971 bool generating_stub_; 975 bool generating_stub_;
972 bool has_frame_; 976 bool has_frame_;
973 // This handle will be patched with the code object on installation. 977 // This handle will be patched with the code object on installation.
974 Handle<Object> code_object_; 978 Handle<Object> code_object_;
975 979
976 // Helper functions for generating invokes. 980 // Helper functions for generating invokes.
977 void InvokePrologue(const ParameterCount& expected, 981 void InvokePrologue(const ParameterCount& expected,
978 const ParameterCount& actual, 982 const ParameterCount& actual,
979 Handle<Code> code_constant, 983 Handle<Code> code_constant,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1097 } \ 1101 } \
1098 masm-> 1102 masm->
1099 #else 1103 #else
1100 #define ACCESS_MASM(masm) masm-> 1104 #define ACCESS_MASM(masm) masm->
1101 #endif 1105 #endif
1102 1106
1103 1107
1104 } } // namespace v8::internal 1108 } } // namespace v8::internal
1105 1109
1106 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1110 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698