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

Side by Side Diff: src/codegen.cc

Issue 3150032: Introduce a new intermediate AST node for encapsulating the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 3 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/data-flow.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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 } 332 }
333 } 333 }
334 } 334 }
335 335
336 // Invoke the platform-dependent code generator to do the actual 336 // Invoke the platform-dependent code generator to do the actual
337 // declaration the global variables and functions. 337 // declaration the global variables and functions.
338 DeclareGlobals(array); 338 DeclareGlobals(array);
339 } 339 }
340 340
341 341
342 void CodeGenerator::VisitIncrementOperation(IncrementOperation* expr) {
343 UNREACHABLE();
344 }
345
346
342 // List of special runtime calls which are generated inline. For some of these 347 // List of special runtime calls which are generated inline. For some of these
343 // functions the code will be generated inline, and for others a call to a code 348 // functions the code will be generated inline, and for others a call to a code
344 // stub will be inlined. 349 // stub will be inlined.
345 350
346 #define INLINE_RUNTIME_ENTRY(Name, argc, ressize) \ 351 #define INLINE_RUNTIME_ENTRY(Name, argc, ressize) \
347 {&CodeGenerator::Generate##Name, "_" #Name, argc}, \ 352 {&CodeGenerator::Generate##Name, "_" #Name, argc}, \
348 353
349 CodeGenerator::InlineRuntimeLUT CodeGenerator::kInlineRuntimeLUT[] = { 354 CodeGenerator::InlineRuntimeLUT CodeGenerator::kInlineRuntimeLUT[] = {
350 INLINE_RUNTIME_FUNCTION_LIST(INLINE_RUNTIME_ENTRY) 355 INLINE_RUNTIME_FUNCTION_LIST(INLINE_RUNTIME_ENTRY)
351 }; 356 };
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 } 521 }
517 } 522 }
518 523
519 524
520 void ApiGetterEntryStub::SetCustomCache(Code* value) { 525 void ApiGetterEntryStub::SetCustomCache(Code* value) {
521 info()->set_load_stub_cache(value); 526 info()->set_load_stub_cache(value);
522 } 527 }
523 528
524 529
525 } } // namespace v8::internal 530 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/data-flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698