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

Side by Side Diff: src/factory.h

Issue 178463007: Moved type feedback vector to SharedFunctionInfo. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 9 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/compiler.cc ('k') | src/factory.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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 509
510 Handle<String> hidden_string() { 510 Handle<String> hidden_string() {
511 return Handle<String>(&isolate()->heap()->hidden_string_); 511 return Handle<String>(&isolate()->heap()->hidden_string_);
512 } 512 }
513 513
514 Handle<SharedFunctionInfo> NewSharedFunctionInfo( 514 Handle<SharedFunctionInfo> NewSharedFunctionInfo(
515 Handle<String> name, 515 Handle<String> name,
516 int number_of_literals, 516 int number_of_literals,
517 bool is_generator, 517 bool is_generator,
518 Handle<Code> code, 518 Handle<Code> code,
519 Handle<ScopeInfo> scope_info); 519 Handle<ScopeInfo> scope_info,
520 Handle<FixedArray> feedback_vector);
520 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); 521 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name);
521 522
522 Handle<JSMessageObject> NewJSMessageObject( 523 Handle<JSMessageObject> NewJSMessageObject(
523 Handle<String> type, 524 Handle<String> type,
524 Handle<JSArray> arguments, 525 Handle<JSArray> arguments,
525 int start_position, 526 int start_position,
526 int end_position, 527 int end_position,
527 Handle<Object> script, 528 Handle<Object> script,
528 Handle<Object> stack_frames); 529 Handle<Object> stack_frames);
529 530
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 isolate()); 598 isolate());
598 } else { 599 } else {
599 return NewNumber(static_cast<double>(value), pretenure); 600 return NewNumber(static_cast<double>(value), pretenure);
600 } 601 }
601 } 602 }
602 603
603 604
604 } } // namespace v8::internal 605 } } // namespace v8::internal
605 606
606 #endif // V8_FACTORY_H_ 607 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698