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

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

Issue 548029: Fix a problem when compiling built-ins with the top-level compiler.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 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/ast.h ('k') | src/fast-codegen.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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 // value are expected on top of the stack. 289 // value are expected on top of the stack.
290 void EmitNamedPropertyAssignment(Assignment* expr); 290 void EmitNamedPropertyAssignment(Assignment* expr);
291 291
292 // Complete a keyed property assignment. The reciever, key, and 292 // Complete a keyed property assignment. The reciever, key, and
293 // right-hand-side value are expected on top of the stack. 293 // right-hand-side value are expected on top of the stack.
294 void EmitKeyedPropertyAssignment(Assignment* expr); 294 void EmitKeyedPropertyAssignment(Assignment* expr);
295 295
296 void SetFunctionPosition(FunctionLiteral* fun); 296 void SetFunctionPosition(FunctionLiteral* fun);
297 void SetReturnPosition(FunctionLiteral* fun); 297 void SetReturnPosition(FunctionLiteral* fun);
298 void SetStatementPosition(Statement* stmt); 298 void SetStatementPosition(Statement* stmt);
299 void SetStatementPosition(int pos);
299 void SetSourcePosition(int pos); 300 void SetSourcePosition(int pos);
300 301
301 // Non-local control flow support. 302 // Non-local control flow support.
302 void EnterFinallyBlock(); 303 void EnterFinallyBlock();
303 void ExitFinallyBlock(); 304 void ExitFinallyBlock();
304 305
305 // Loop nesting counter. 306 // Loop nesting counter.
306 int loop_depth() { return loop_depth_; } 307 int loop_depth() { return loop_depth_; }
307 void increment_loop_depth() { loop_depth_++; } 308 void increment_loop_depth() { loop_depth_++; }
308 void decrement_loop_depth() { 309 void decrement_loop_depth() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 343
343 friend class NestedStatement; 344 friend class NestedStatement;
344 345
345 DISALLOW_COPY_AND_ASSIGN(FastCodeGenerator); 346 DISALLOW_COPY_AND_ASSIGN(FastCodeGenerator);
346 }; 347 };
347 348
348 349
349 } } // namespace v8::internal 350 } } // namespace v8::internal
350 351
351 #endif // V8_FAST_CODEGEN_H_ 352 #endif // V8_FAST_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/fast-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698