OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 | 305 |
306 #ifdef ENABLE_LOGGING_AND_PROFILING | 306 #ifdef ENABLE_LOGGING_AND_PROFILING |
307 static bool ShouldGenerateLog(Expression* type); | 307 static bool ShouldGenerateLog(Expression* type); |
308 #endif | 308 #endif |
309 | 309 |
310 static void SetFunctionInfo(Handle<JSFunction> fun, | 310 static void SetFunctionInfo(Handle<JSFunction> fun, |
311 FunctionLiteral* lit, | 311 FunctionLiteral* lit, |
312 bool is_toplevel, | 312 bool is_toplevel, |
313 Handle<Script> script); | 313 Handle<Script> script); |
314 | 314 |
| 315 static void RecordPositions(MacroAssembler* masm, int pos); |
| 316 |
315 // Accessors | 317 // Accessors |
316 MacroAssembler* masm() { return masm_; } | 318 MacroAssembler* masm() { return masm_; } |
317 | 319 |
318 VirtualFrame* frame() const { return frame_; } | 320 VirtualFrame* frame() const { return frame_; } |
319 | 321 |
320 bool has_valid_frame() const { return frame_ != NULL; } | 322 bool has_valid_frame() const { return frame_ != NULL; } |
321 | 323 |
322 // Set the virtual frame to be new_frame, with non-frame register | 324 // Set the virtual frame to be new_frame, with non-frame register |
323 // reference counts given by non_frame_registers. The non-frame | 325 // reference counts given by non_frame_registers. The non-frame |
324 // register reference counts of the old frame are returned in | 326 // register reference counts of the old frame are returned in |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 | FlagBits::encode(flags_) | 683 | FlagBits::encode(flags_) |
682 | SSE3Bits::encode(use_sse3_); | 684 | SSE3Bits::encode(use_sse3_); |
683 } | 685 } |
684 void Generate(MacroAssembler* masm); | 686 void Generate(MacroAssembler* masm); |
685 }; | 687 }; |
686 | 688 |
687 | 689 |
688 } } // namespace v8::internal | 690 } } // namespace v8::internal |
689 | 691 |
690 #endif // V8_X64_CODEGEN_X64_H_ | 692 #endif // V8_X64_CODEGEN_X64_H_ |
OLD | NEW |