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

Side by Side Diff: src/x64/codegen-x64.h

Issue 271102: Record statement positions for the debugger in the fast code generator. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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
« no previous file with comments | « src/ia32/fast-codegen-ia32.cc ('k') | src/x64/fast-codegen-x64.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 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
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
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_
OLDNEW
« no previous file with comments | « src/ia32/fast-codegen-ia32.cc ('k') | src/x64/fast-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698