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

Side by Side Diff: src/compiler.h

Issue 7860045: Stack allocating block scoped variables. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased on tip of tree. Created 9 years 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/compiler.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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // compiled). 309 // compiled).
310 static Handle<SharedFunctionInfo> BuildFunctionInfo(FunctionLiteral* node, 310 static Handle<SharedFunctionInfo> BuildFunctionInfo(FunctionLiteral* node,
311 Handle<Script> script); 311 Handle<Script> script);
312 312
313 // Set the function info for a newly compiled function. 313 // Set the function info for a newly compiled function.
314 static void SetFunctionInfo(Handle<SharedFunctionInfo> function_info, 314 static void SetFunctionInfo(Handle<SharedFunctionInfo> function_info,
315 FunctionLiteral* lit, 315 FunctionLiteral* lit,
316 bool is_toplevel, 316 bool is_toplevel,
317 Handle<Script> script); 317 Handle<Script> script);
318 318
319 // Compile the code for the given CompilationInfo.
320 static bool MakeCode(CompilationInfo* info);
321
322
319 #ifdef ENABLE_DEBUGGER_SUPPORT 323 #ifdef ENABLE_DEBUGGER_SUPPORT
320 static bool MakeCodeForLiveEdit(CompilationInfo* info); 324 static bool MakeCodeForLiveEdit(CompilationInfo* info);
321 #endif 325 #endif
322 326
323 static void RecordFunctionCompilation(Logger::LogEventsAndTags tag, 327 static void RecordFunctionCompilation(Logger::LogEventsAndTags tag,
324 CompilationInfo* info, 328 CompilationInfo* info,
325 Handle<SharedFunctionInfo> shared); 329 Handle<SharedFunctionInfo> shared);
326 }; 330 };
327 331
328 332
329 } } // namespace v8::internal 333 } } // namespace v8::internal
330 334
331 #endif // V8_COMPILER_H_ 335 #endif // V8_COMPILER_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698