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

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

Issue 6869006: Fix presubmit. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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 | « no previous file | src/x64/lithium-x64.h » ('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 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 1409
1410 virtual void PrintDataTo(StringStream* stream); 1410 virtual void PrintDataTo(StringStream* stream);
1411 1411
1412 Handle<JSFunction> function() { return hydrogen()->function(); } 1412 Handle<JSFunction> function() { return hydrogen()->function(); }
1413 int arity() const { return hydrogen()->argument_count() - 1; } 1413 int arity() const { return hydrogen()->argument_count() - 1; }
1414 }; 1414 };
1415 1415
1416 1416
1417 class LInvokeFunction: public LTemplateInstruction<1, 1, 0> { 1417 class LInvokeFunction: public LTemplateInstruction<1, 1, 0> {
1418 public: 1418 public:
1419 LInvokeFunction(LOperand* function) { 1419 explicit LInvokeFunction(LOperand* function) {
1420 inputs_[0] = function; 1420 inputs_[0] = function;
1421 } 1421 }
1422 1422
1423 DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function") 1423 DECLARE_CONCRETE_INSTRUCTION(InvokeFunction, "invoke-function")
1424 DECLARE_HYDROGEN_ACCESSOR(InvokeFunction) 1424 DECLARE_HYDROGEN_ACCESSOR(InvokeFunction)
1425 1425
1426 LOperand* function() { return inputs_[0]; } 1426 LOperand* function() { return inputs_[0]; }
1427 1427
1428 virtual void PrintDataTo(StringStream* stream); 1428 virtual void PrintDataTo(StringStream* stream);
1429 1429
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
2208 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2208 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2209 }; 2209 };
2210 2210
2211 #undef DECLARE_HYDROGEN_ACCESSOR 2211 #undef DECLARE_HYDROGEN_ACCESSOR
2212 #undef DECLARE_INSTRUCTION 2212 #undef DECLARE_INSTRUCTION
2213 #undef DECLARE_CONCRETE_INSTRUCTION 2213 #undef DECLARE_CONCRETE_INSTRUCTION
2214 2214
2215 } } // namespace v8::internal 2215 } } // namespace v8::internal
2216 2216
2217 #endif // V8_ARM_LITHIUM_ARM_H_ 2217 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/lithium-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698