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

Side by Side Diff: src/x64/lithium-codegen-x64.h

Issue 8640001: Implement crankshaft support for nested object literals. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ported lithium part to x64 and ARM. 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/ia32/lithium-ia32.cc ('k') | src/x64/lithium-codegen-x64.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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 282
283 void EmitLoadFieldOrConstantFunction(Register result, 283 void EmitLoadFieldOrConstantFunction(Register result,
284 Register object, 284 Register object,
285 Handle<Map> type, 285 Handle<Map> type,
286 Handle<String> name); 286 Handle<String> name);
287 287
288 // Emits code for pushing either a tagged constant, a (non-double) 288 // Emits code for pushing either a tagged constant, a (non-double)
289 // register, or a stack slot operand. 289 // register, or a stack slot operand.
290 void EmitPushTaggedOperand(LOperand* operand); 290 void EmitPushTaggedOperand(LOperand* operand);
291 291
292 // Emits optimized code to deep-copy the contents of statically known
293 // object graphs (e.g. object literal boilerplate).
294 void EmitDeepCopy(Handle<JSObject> object,
295 Register result,
296 Register source,
297 int* offset);
298
292 struct JumpTableEntry { 299 struct JumpTableEntry {
293 explicit inline JumpTableEntry(Address entry) 300 explicit inline JumpTableEntry(Address entry)
294 : label(), 301 : label(),
295 address(entry) { } 302 address(entry) { }
296 Label label; 303 Label label;
297 Address address; 304 Address address;
298 }; 305 };
299 306
300 void EnsureSpaceForLazyDeopt(); 307 void EnsureSpaceForLazyDeopt();
301 308
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 LCodeGen* codegen_; 385 LCodeGen* codegen_;
379 Label entry_; 386 Label entry_;
380 Label exit_; 387 Label exit_;
381 Label* external_exit_; 388 Label* external_exit_;
382 int instruction_index_; 389 int instruction_index_;
383 }; 390 };
384 391
385 } } // namespace v8::internal 392 } } // namespace v8::internal
386 393
387 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 394 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698