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

Side by Side Diff: src/codegen-ia32.h

Issue 7077: Under construction: Preliminary change to support per... Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // Inline small integer literals. To prevent long attacker-controlled byte 249 // Inline small integer literals. To prevent long attacker-controlled byte
250 // sequences, we only inline small Smi:s. 250 // sequences, we only inline small Smi:s.
251 static const int kMaxSmiInlinedBits = 16; 251 static const int kMaxSmiInlinedBits = 16;
252 bool IsInlineSmi(Literal* literal); 252 bool IsInlineSmi(Literal* literal);
253 void SmiComparison(Condition cc, Handle<Object> value, bool strict = false); 253 void SmiComparison(Condition cc, Handle<Object> value, bool strict = false);
254 void SmiOperation(Token::Value op, 254 void SmiOperation(Token::Value op,
255 Handle<Object> value, 255 Handle<Object> value,
256 bool reversed, 256 bool reversed,
257 OverwriteMode overwrite_mode); 257 OverwriteMode overwrite_mode);
258 258
259 void CallWithArguments(ZoneList<Expression*>* arguments, int position); 259 void CallWithArguments(ZoneList<Expression*>* arguments,
260 bool call_constructor,
261 int position);
260 262
261 // Control flow 263 // Control flow
262 void Branch(bool if_true, Label* L); 264 void Branch(bool if_true, Label* L);
263 void CheckStack(); 265 void CheckStack();
264 void CleanStack(int num_bytes); 266 void CleanStack(int num_bytes);
265 267
266 bool CheckForInlineRuntimeCall(CallRuntime* node); 268 bool CheckForInlineRuntimeCall(CallRuntime* node);
267 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node); 269 Handle<JSFunction> BuildBoilerplate(FunctionLiteral* node);
268 void ProcessDeclarations(ZoneList<Declaration*>* declarations); 270 void ProcessDeclarations(ZoneList<Declaration*>* declarations);
269 271
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 friend class VariableProxy; 378 friend class VariableProxy;
377 friend class Slot; 379 friend class Slot;
378 380
379 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 381 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
380 }; 382 };
381 383
382 384
383 } } // namespace v8::internal 385 } } // namespace v8::internal
384 386
385 #endif // V8_CODEGEN_IA32_H_ 387 #endif // V8_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/builtins-ia32.cc ('k') | src/codegen-ia32.cc » ('j') | src/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698