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

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

Issue 133443009: A64: Synchronize with r17441. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/lithium-a64.cc ('k') | src/a64/lithium-codegen-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 deopt_jump_table_(4, info->zone()), 53 deopt_jump_table_(4, info->zone()),
54 deoptimization_literals_(8, info->zone()), 54 deoptimization_literals_(8, info->zone()),
55 inlined_function_count_(0), 55 inlined_function_count_(0),
56 scope_(info->scope()), 56 scope_(info->scope()),
57 translations_(info->zone()), 57 translations_(info->zone()),
58 deferred_(8, info->zone()), 58 deferred_(8, info->zone()),
59 osr_pc_offset_(-1), 59 osr_pc_offset_(-1),
60 frame_is_built_(false), 60 frame_is_built_(false),
61 safepoints_(info->zone()), 61 safepoints_(info->zone()),
62 resolver_(this), 62 resolver_(this),
63 expected_safepoint_kind_(Safepoint::kSimple), 63 expected_safepoint_kind_(Safepoint::kSimple) {
64 old_position_(RelocInfo::kNoPosition) {
65 PopulateDeoptimizationLiteralsWithInlinedFunctions(); 64 PopulateDeoptimizationLiteralsWithInlinedFunctions();
66 } 65 }
67 66
68 // Simple accessors. 67 // Simple accessors.
69 Scope* scope() const { return scope_; } 68 Scope* scope() const { return scope_; }
70 69
71 int LookupDestination(int block_id) const { 70 int LookupDestination(int block_id) const {
72 return chunk()->LookupDestination(block_id); 71 return chunk()->LookupDestination(block_id);
73 } 72 }
74 73
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 // be set to x1. Otherwise, it must be NoReg, and CallKnownFunction will 310 // be set to x1. Otherwise, it must be NoReg, and CallKnownFunction will
312 // automatically load it. 311 // automatically load it.
313 void CallKnownFunction(Handle<JSFunction> function, 312 void CallKnownFunction(Handle<JSFunction> function,
314 int formal_parameter_count, 313 int formal_parameter_count,
315 int arity, 314 int arity,
316 LInstruction* instr, 315 LInstruction* instr,
317 CallKind call_kind, 316 CallKind call_kind,
318 Register function_reg = NoReg); 317 Register function_reg = NoReg);
319 318
320 // Support for recording safepoint and position information. 319 // Support for recording safepoint and position information.
321 void RecordPosition(int position); 320 void RecordAndWritePosition(int position) V8_OVERRIDE;
322 void RecordAndUpdatePosition(int position) V8_OVERRIDE;
323 void RecordSafepoint(LPointerMap* pointers, 321 void RecordSafepoint(LPointerMap* pointers,
324 Safepoint::Kind kind, 322 Safepoint::Kind kind,
325 int arguments, 323 int arguments,
326 Safepoint::DeoptMode mode); 324 Safepoint::DeoptMode mode);
327 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 325 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
328 void RecordSafepoint(Safepoint::DeoptMode mode); 326 void RecordSafepoint(Safepoint::DeoptMode mode);
329 void RecordSafepointWithRegisters(LPointerMap* pointers, 327 void RecordSafepointWithRegisters(LPointerMap* pointers,
330 int arguments, 328 int arguments,
331 Safepoint::DeoptMode mode); 329 Safepoint::DeoptMode mode);
332 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, 330 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 455
458 protected: 456 protected:
459 MacroAssembler* masm() const { return codegen_->masm(); } 457 MacroAssembler* masm() const { return codegen_->masm(); }
460 458
461 LCodeGen* codegen_; 459 LCodeGen* codegen_;
462 }; 460 };
463 461
464 } } // namespace v8::internal 462 } } // namespace v8::internal
465 463
466 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ 464 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-a64.cc ('k') | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698