Reviewers: mvstanton,
Description:
Print generated code for Crankshafted stubs with --print-code-stubs
[email protected]
Please review this at https://codereview.chromium.org/12223007/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/codegen.cc
Index: src/codegen.cc
diff --git a/src/codegen.cc b/src/codegen.cc
index
b42645cd006c83f2045eb931367c4d45ff5bb920..508e221eb32deeeb9398de6910ce546dc604971e
100644
--- a/src/codegen.cc
+++ b/src/codegen.cc
@@ -123,7 +123,9 @@ void CodeGenerator::PrintCode(Handle<Code> code,
CompilationInfo* info) {
#ifdef ENABLE_DISASSEMBLER
bool print_code = Isolate::Current()->bootstrapper()->IsActive()
? FLAG_print_builtin_code
- : (FLAG_print_code || (info->IsOptimizing() && FLAG_print_opt_code));
+ : (FLAG_print_code ||
+ (info->IsStub() && FLAG_print_code_stubs) ||
+ (info->IsOptimizing() && FLAG_print_opt_code));
if (print_code) {
// Print the source code if available.
FunctionLiteral* function = info->function();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.