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

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

Issue 7327038: Add source position recording for variable loads (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments Created 9 years, 5 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/arm/full-codegen-arm.cc ('k') | src/ia32/full-codegen-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 437
438 // Platform-specific code for loading variables. 438 // Platform-specific code for loading variables.
439 void EmitLoadGlobalSlotCheckExtensions(Slot* slot, 439 void EmitLoadGlobalSlotCheckExtensions(Slot* slot,
440 TypeofState typeof_state, 440 TypeofState typeof_state,
441 Label* slow); 441 Label* slow);
442 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, Label* slow); 442 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, Label* slow);
443 void EmitDynamicLoadFromSlotFastCase(Slot* slot, 443 void EmitDynamicLoadFromSlotFastCase(Slot* slot,
444 TypeofState typeof_state, 444 TypeofState typeof_state,
445 Label* slow, 445 Label* slow,
446 Label* done); 446 Label* done);
447 void EmitVariableLoad(Variable* expr); 447 void EmitVariableLoad(VariableProxy* proxy);
448 448
449 enum ResolveEvalFlag { 449 enum ResolveEvalFlag {
450 SKIP_CONTEXT_LOOKUP, 450 SKIP_CONTEXT_LOOKUP,
451 PERFORM_CONTEXT_LOOKUP 451 PERFORM_CONTEXT_LOOKUP
452 }; 452 };
453 453
454 // Expects the arguments and the function already pushed. 454 // Expects the arguments and the function already pushed.
455 void EmitResolvePossiblyDirectEval(ResolveEvalFlag flag, int arg_count); 455 void EmitResolvePossiblyDirectEval(ResolveEvalFlag flag, int arg_count);
456 456
457 // Platform-specific support for allocating a new closure based on 457 // Platform-specific support for allocating a new closure based on
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 759
760 friend class NestedStatement; 760 friend class NestedStatement;
761 761
762 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); 762 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator);
763 }; 763 };
764 764
765 765
766 } } // namespace v8::internal 766 } } // namespace v8::internal
767 767
768 #endif // V8_FULL_CODEGEN_H_ 768 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698