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

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

Issue 14305011: MIPS: Disallow dereferencing deferred handles when generating optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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/mips/assembler-mips.cc ('k') | src/mips/lithium-codegen-mips.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 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 LInstruction* instr); 260 LInstruction* instr);
261 261
262 enum A1State { 262 enum A1State {
263 A1_UNINITIALIZED, 263 A1_UNINITIALIZED,
264 A1_CONTAINS_TARGET 264 A1_CONTAINS_TARGET
265 }; 265 };
266 266
267 // Generate a direct call to a known function. Expects the function 267 // Generate a direct call to a known function. Expects the function
268 // to be in a1. 268 // to be in a1.
269 void CallKnownFunction(Handle<JSFunction> function, 269 void CallKnownFunction(Handle<JSFunction> function,
270 int formal_parameter_count,
270 int arity, 271 int arity,
271 LInstruction* instr, 272 LInstruction* instr,
272 CallKind call_kind, 273 CallKind call_kind,
273 A1State a1_state); 274 A1State a1_state);
274 275
275 void LoadHeapObject(Register result, Handle<HeapObject> object); 276 void LoadHeapObject(Register result, Handle<HeapObject> object);
276 277
277 void RecordSafepointWithLazyDeopt(LInstruction* instr, 278 void RecordSafepointWithLazyDeopt(LInstruction* instr,
278 SafepointMode safepoint_mode); 279 SafepointMode safepoint_mode);
279 280
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 LCodeGen* codegen_; 508 LCodeGen* codegen_;
508 Label entry_; 509 Label entry_;
509 Label exit_; 510 Label exit_;
510 Label* external_exit_; 511 Label* external_exit_;
511 int instruction_index_; 512 int instruction_index_;
512 }; 513 };
513 514
514 } } // namespace v8::internal 515 } } // namespace v8::internal
515 516
516 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 517 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698