OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 219 |
220 #ifdef ENABLE_LOGGING_AND_PROFILING | 220 #ifdef ENABLE_LOGGING_AND_PROFILING |
221 static bool ShouldGenerateLog(Expression* type); | 221 static bool ShouldGenerateLog(Expression* type); |
222 #endif | 222 #endif |
223 | 223 |
224 static void SetFunctionInfo(Handle<JSFunction> fun, | 224 static void SetFunctionInfo(Handle<JSFunction> fun, |
225 FunctionLiteral* lit, | 225 FunctionLiteral* lit, |
226 bool is_toplevel, | 226 bool is_toplevel, |
227 Handle<Script> script); | 227 Handle<Script> script); |
228 | 228 |
229 static void RecordPositions(MacroAssembler* masm, int pos); | 229 static bool RecordPositions(MacroAssembler* masm, |
| 230 int pos, |
| 231 bool right_here = false); |
230 | 232 |
231 // Accessors | 233 // Accessors |
232 MacroAssembler* masm() { return masm_; } | 234 MacroAssembler* masm() { return masm_; } |
233 VirtualFrame* frame() const { return frame_; } | 235 VirtualFrame* frame() const { return frame_; } |
234 inline Handle<Script> script(); | 236 inline Handle<Script> script(); |
235 | 237 |
236 bool has_valid_frame() const { return frame_ != NULL; } | 238 bool has_valid_frame() const { return frame_ != NULL; } |
237 | 239 |
238 // Set the virtual frame to be new_frame, with non-frame register | 240 // Set the virtual frame to be new_frame, with non-frame register |
239 // reference counts given by non_frame_registers. The non-frame | 241 // reference counts given by non_frame_registers. The non-frame |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
961 return ObjectBits::encode(object_.code()) | | 963 return ObjectBits::encode(object_.code()) | |
962 OffsetBits::encode(offset_.code()) | | 964 OffsetBits::encode(offset_.code()) | |
963 ScratchBits::encode(scratch_.code()); | 965 ScratchBits::encode(scratch_.code()); |
964 } | 966 } |
965 }; | 967 }; |
966 | 968 |
967 | 969 |
968 } } // namespace v8::internal | 970 } } // namespace v8::internal |
969 | 971 |
970 #endif // V8_ARM_CODEGEN_ARM_H_ | 972 #endif // V8_ARM_CODEGEN_ARM_H_ |
OLD | NEW |