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

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

Issue 8221004: Move declaration of SerializedScopeInfo from variables.h to objects.h (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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
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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 // the actual bailout target from the optimized code. If not 416 // the actual bailout target from the optimized code. If not
417 // should_normalize, the true and false labels are ignored. 417 // should_normalize, the true and false labels are ignored.
418 void PrepareForBailoutBeforeSplit(State state, 418 void PrepareForBailoutBeforeSplit(State state,
419 bool should_normalize, 419 bool should_normalize,
420 Label* if_true, 420 Label* if_true,
421 Label* if_false); 421 Label* if_false);
422 422
423 // Platform-specific code for a variable, constant, or function 423 // Platform-specific code for a variable, constant, or function
424 // declaration. Functions have an initial value. 424 // declaration. Functions have an initial value.
425 void EmitDeclaration(VariableProxy* proxy, 425 void EmitDeclaration(VariableProxy* proxy,
426 Variable::Mode mode, 426 VariableMode mode,
427 FunctionLiteral* function, 427 FunctionLiteral* function,
428 int* global_count); 428 int* global_count);
429 429
430 // Platform-specific code for checking the stack limit at the back edge of 430 // Platform-specific code for checking the stack limit at the back edge of
431 // a loop. 431 // a loop.
432 void EmitStackCheck(IterationStatement* stmt); 432 void EmitStackCheck(IterationStatement* stmt);
433 // Record the OSR AST id corresponding to a stack check in the code. 433 // Record the OSR AST id corresponding to a stack check in the code.
434 void RecordStackCheck(int osr_ast_id); 434 void RecordStackCheck(int osr_ast_id);
435 // Emit a table of stack check ids and pcs into the code stream. Return 435 // Emit a table of stack check ids and pcs into the code stream. Return
436 // the offset of the start of the table. 436 // the offset of the start of the table.
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 824
825 friend class NestedStatement; 825 friend class NestedStatement;
826 826
827 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); 827 DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator);
828 }; 828 };
829 829
830 830
831 } } // namespace v8::internal 831 } } // namespace v8::internal
832 832
833 #endif // V8_FULL_CODEGEN_H_ 833 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/contexts.cc ('k') | src/full-codegen.cc » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698