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

Side by Side Diff: src/x64/codegen-x64.cc

Issue 118310: Fix x64 build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 6 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 | « no previous file | no next file » | 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 16 matching lines...) Expand all
27 27
28 28
29 #include "v8.h" 29 #include "v8.h"
30 #include "macro-assembler.h" 30 #include "macro-assembler.h"
31 #include "register-allocator-inl.h" 31 #include "register-allocator-inl.h"
32 #include "codegen.h" 32 #include "codegen.h"
33 33
34 namespace v8 { 34 namespace v8 {
35 namespace internal { 35 namespace internal {
36 36
37 // -------------------------------------------------------------------------
38 // Platform-specific DeferredCode functions.
39
40 void DeferredCode::SaveRegisters() { UNIMPLEMENTED(); }
41
42 void DeferredCode::RestoreRegisters() { UNIMPLEMENTED(); }
43
44
37 CodeGenerator::CodeGenerator(int buffer_size, 45 CodeGenerator::CodeGenerator(int buffer_size,
38 Handle<Script> script, 46 Handle<Script> script,
39 bool is_eval) 47 bool is_eval)
40 : is_eval_(is_eval), 48 : is_eval_(is_eval),
41 script_(script), 49 script_(script),
42 deferred_(8), 50 deferred_(8),
43 masm_(new MacroAssembler(NULL, buffer_size)), 51 masm_(new MacroAssembler(NULL, buffer_size)),
44 scope_(NULL), 52 scope_(NULL),
45 frame_(NULL), 53 frame_(NULL),
46 allocator_(NULL), 54 allocator_(NULL),
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 327
320 // Restore frame pointer and return. 328 // Restore frame pointer and return.
321 __ pop(rbp); 329 __ pop(rbp);
322 __ ret(0); 330 __ ret(0);
323 } 331 }
324 332
325 333
326 #undef __ 334 #undef __
327 335
328 } } // namespace v8::internal 336 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698