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

Side by Side Diff: src/hydrogen.h

Issue 25571002: Revert "Hydrogenisation of binops" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/code-stubs-hydrogen.cc ('k') | src/hydrogen.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 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 HValue* right, 1284 HValue* right,
1285 HValue** operand, 1285 HValue** operand,
1286 HValue** shift_amount); 1286 HValue** shift_amount);
1287 1287
1288 HInstruction* BuildBinaryOperation(Token::Value op, 1288 HInstruction* BuildBinaryOperation(Token::Value op,
1289 HValue* left, 1289 HValue* left,
1290 HValue* right, 1290 HValue* right,
1291 Handle<Type> left_type, 1291 Handle<Type> left_type,
1292 Handle<Type> right_type, 1292 Handle<Type> right_type,
1293 Handle<Type> result_type, 1293 Handle<Type> result_type,
1294 Maybe<int> fixed_right_arg, 1294 Maybe<int> fixed_right_arg);
1295 bool binop_stub = false);
1296 1295
1297 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); 1296 HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
1298 1297
1299 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin); 1298 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin);
1300 1299
1301 HValue* EnforceNumberType(HValue* number, Handle<Type> expected); 1300 HValue* EnforceNumberType(HValue* number, Handle<Type> expected);
1302 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected); 1301 HValue* TruncateToNumber(HValue* value, Handle<Type>* expected);
1303 1302
1304 void PushAndAdd(HInstruction* instr); 1303 void PushAndAdd(HInstruction* instr);
1305 1304
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
2477 } 2476 }
2478 2477
2479 private: 2478 private:
2480 HGraphBuilder* builder_; 2479 HGraphBuilder* builder_;
2481 }; 2480 };
2482 2481
2483 2482
2484 } } // namespace v8::internal 2483 } } // namespace v8::internal
2485 2484
2486 #endif // V8_HYDROGEN_H_ 2485 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698