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

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

Issue 14403015: Disallow dereferencing deferred handles when generating optimized code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments 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/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 LInstruction* instr); 269 LInstruction* instr);
270 270
271 enum R1State { 271 enum R1State {
272 R1_UNINITIALIZED, 272 R1_UNINITIALIZED,
273 R1_CONTAINS_TARGET 273 R1_CONTAINS_TARGET
274 }; 274 };
275 275
276 // Generate a direct call to a known function. Expects the function 276 // Generate a direct call to a known function. Expects the function
277 // to be in r1. 277 // to be in r1.
278 void CallKnownFunction(Handle<JSFunction> function, 278 void CallKnownFunction(Handle<JSFunction> function,
279 int formal_parameter_count,
279 int arity, 280 int arity,
280 LInstruction* instr, 281 LInstruction* instr,
281 CallKind call_kind, 282 CallKind call_kind,
282 R1State r1_state); 283 R1State r1_state);
283 284
284 void LoadHeapObject(Register result, Handle<HeapObject> object); 285 void LoadHeapObject(Register result, Handle<HeapObject> object);
285 286
286 void RecordSafepointWithLazyDeopt(LInstruction* instr, 287 void RecordSafepointWithLazyDeopt(LInstruction* instr,
287 SafepointMode safepoint_mode); 288 SafepointMode safepoint_mode);
288 289
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 LCodeGen* codegen_; 510 LCodeGen* codegen_;
510 Label entry_; 511 Label entry_;
511 Label exit_; 512 Label exit_;
512 Label* external_exit_; 513 Label* external_exit_;
513 int instruction_index_; 514 int instruction_index_;
514 }; 515 };
515 516
516 } } // namespace v8::internal 517 } } // namespace v8::internal
517 518
518 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 519 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698