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

Side by Side Diff: src/codegen.cc

Issue 102563004: Zonify types in compiler frontend (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 6 years, 12 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/code-stubs-hydrogen.cc ('k') | src/effects.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 PrintF("%s", name == NULL ? "<unknown>" : name); 82 PrintF("%s", name == NULL ? "<unknown>" : name);
83 } else { 83 } else {
84 PrintF("%s", info->function()->debug_name()->ToCString().get()); 84 PrintF("%s", info->function()->debug_name()->ToCString().get());
85 } 85 }
86 PrintF("]\n"); 86 PrintF("]\n");
87 } 87 }
88 88
89 #ifdef DEBUG 89 #ifdef DEBUG
90 if (!info->IsStub() && print_source) { 90 if (!info->IsStub() && print_source) {
91 PrintF("--- Source from AST ---\n%s\n", 91 PrintF("--- Source from AST ---\n%s\n",
92 PrettyPrinter(info->isolate()).PrintProgram(info->function())); 92 PrettyPrinter(info->zone()).PrintProgram(info->function()));
93 } 93 }
94 94
95 if (!info->IsStub() && print_ast) { 95 if (!info->IsStub() && print_ast) {
96 PrintF("--- AST ---\n%s\n", 96 PrintF("--- AST ---\n%s\n",
97 AstPrinter(info->isolate()).PrintProgram(info->function())); 97 AstPrinter(info->zone()).PrintProgram(info->function()));
98 } 98 }
99 #endif // DEBUG 99 #endif // DEBUG
100 } 100 }
101 101
102 102
103 Handle<Code> CodeGenerator::MakeCodeEpilogue(MacroAssembler* masm, 103 Handle<Code> CodeGenerator::MakeCodeEpilogue(MacroAssembler* masm,
104 Code::Flags flags, 104 Code::Flags flags,
105 CompilationInfo* info) { 105 CompilationInfo* info) {
106 Isolate* isolate = info->isolate(); 106 Isolate* isolate = info->isolate();
107 107
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 ASSERT(result_size_ == 1 || result_size_ == 2); 238 ASSERT(result_size_ == 1 || result_size_ == 2);
239 #ifdef _WIN64 239 #ifdef _WIN64
240 return result | ((result_size_ == 1) ? 0 : 2); 240 return result | ((result_size_ == 1) ? 0 : 2);
241 #else 241 #else
242 return result; 242 return result;
243 #endif 243 #endif
244 } 244 }
245 245
246 246
247 } } // namespace v8::internal 247 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/effects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698